summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..b7a5cf9
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,8 @@
+ccopts = -Wall --std=c99
+out=versioner
+
+all:
+ if [ ! -d obj ]; then mkdir obj; fi
+ cc $(ccopts) -c src/version.c -o obj/version.o
+ cc $(ccopts) src/main.c obj/*.o -o $(out)
+

Generated by cgit