Browse Source

hello

master
test2 5 years ago
parent
commit
c879450846
  1. 9
      examples/helloworld.c
  2. 13
      swarmlab/Makefile

9
examples/helloworld.c

@ -0,0 +1,9 @@
/* Hello World C Program */
#include<stdio.h>
main()
{
printf("Hello World!");
}

13
swarmlab/Makefile

@ -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…
Cancel
Save