From 2830b5fb96cce787ca8c7562a968effc3e57bdb1 Mon Sep 17 00:00:00 2001 From: Silvino Date: Wed, 26 Jun 2019 16:58:13 +0100 Subject: dev index re-organization --- dev/c/src/hello/Makefile | 7 +++++++ dev/c/src/hello/hello.c | 6 ++++++ 2 files changed, 13 insertions(+) create mode 100644 dev/c/src/hello/Makefile create mode 100644 dev/c/src/hello/hello.c (limited to 'dev/c/src/hello') 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 + +int main() { + printf("hello World!"); + return 0; +} -- cgit 1.4.1-2-gfad0