]> git.cworth.org Git - kub/commitdiff
Add simple Makefile
authorCarl Worth <carl@theworths.org>
Sat, 27 Jan 2007 14:22:38 +0000 (06:22 -0800)
committerCarl Worth <carl@theworths.org>
Sat, 27 Jan 2007 14:29:21 +0000 (06:29 -0800)
We needed a trivial little Makefile since we extracted kub
out of a former project that had been using automake.

Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..c8fbe33
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+WARN_CFLAGS=-Wall -Wpointer-arith -Wstrict-prototypes \
+       -Wmissing-prototypes -Wmissing-declarations \
+       -Wnested-externs -fno-strict-aliasing
+
+KUB_CFLAGS=$(WARN_CFLAGS)
+
+kub: kub.c
+       $(CC) $(KUB_CFLAGS) -o $@ $^
+
+clean:
+       rm -f kub *.o