summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--hello.c7
2 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..376cafd
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,4 @@
+all:
+ gcc hello.c -o hello
+cleaup:
+ rm -f ./hello
diff --git a/hello.c b/hello.c
new file mode 100644
index 0000000..f12c0e8
--- /dev/null
+++ b/hello.c
@@ -0,0 +1,7 @@
+#include <stdio.h>
+
+int main(void)
+{
+ printf("hello, world!\n");
+ return 0;
+}