Init the basic program
This commit is contained in:
parent
72bc208b23
commit
258923eb32
3 changed files with 15 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
/noop
|
5
Makefile
Normal file
5
Makefile
Normal file
|
@ -0,0 +1,5 @@
|
|||
noop: noop.c
|
||||
gcc -static $< -o $@ -O3
|
||||
|
||||
clean:
|
||||
rm noop
|
9
noop.c
Normal file
9
noop.c
Normal file
|
@ -0,0 +1,9 @@
|
|||
#include <unistd.h>
|
||||
|
||||
int main() {
|
||||
while (1) {
|
||||
pause();
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Reference in a new issue