test2
5 years ago
2 changed files with 22 additions and 0 deletions
@ -0,0 +1,9 @@ |
|||||
|
/* Hello World C Program */ |
||||
|
|
||||
|
#include<stdio.h> |
||||
|
|
||||
|
main() |
||||
|
{ |
||||
|
printf("Hello World!"); |
||||
|
|
||||
|
} |
@ -0,0 +1,13 @@ |
|||||
|
all: hello run |
||||
|
|
||||
|
hello: |
||||
|
|
||||
|
gcc ../examples/helloworld.c -o /root/helloworld |
||||
|
|
||||
|
run: |
||||
|
|
||||
|
/root/helloworld 2>&1 | tee /tmp/output.log |
||||
|
|
||||
|
|
||||
|
|
||||
|
|
Loading…
Reference in new issue