about summary refs log tree commit diff stats
path: root/dev/c/src/hello
diff options
context:
space:
mode:
authorSilvino <silvino@bk.ru>2019-06-26 16:58:13 +0100
committerSilvino <silvino@bk.ru>2019-06-26 16:59:06 +0100
commit2830b5fb96cce787ca8c7562a968effc3e57bdb1 (patch)
treed8f3c09d0b52806ecc97e447655eb99f17a126e8 /dev/c/src/hello
parent0e5a601a31840e1531f3f90ca447bf3b1e766d73 (diff)
downloaddoc-2830b5fb96cce787ca8c7562a968effc3e57bdb1.tar.gz
dev index re-organization
Diffstat (limited to 'dev/c/src/hello')
-rw-r--r--dev/c/src/hello/Makefile7
-rw-r--r--dev/c/src/hello/hello.c6
2 files changed, 13 insertions, 0 deletions
diff --git a/dev/c/src/hello/Makefile b/dev/c/src/hello/Makefile
new file mode 100644
index 0000000..a6d9f07
--- /dev/null
+++ b/dev/c/src/hello/Makefile
@@ -0,0 +1,7 @@
+CC=gcc
+CFLAGS=-Wall
+
+hello: hello.o
+
+clean:
+	rm -f *.o hello
diff --git a/dev/c/src/hello/hello.c b/dev/c/src/hello/hello.c
new file mode 100644
index 0000000..df66493
--- /dev/null
+++ b/dev/c/src/hello/hello.c
@@ -0,0 +1,6 @@
+#include <stdio.h>
+
+int main() {
+    printf("hello World!");
+    return 0;
+}