From: Carl Worth Date: Sat, 27 Jan 2007 14:22:38 +0000 (-0800) Subject: Add simple Makefile X-Git-Url: https://git.cworth.org/git?p=kub;a=commitdiff_plain;h=d509a156a6752519665909e3c26f8802f18fd770 Add simple Makefile We needed a trivial little Makefile since we extracted kub out of a former project that had been using automake. --- diff --git a/Makefile b/Makefile new file mode 100644 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