diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,4 @@ +CFLAGS += -std=c89 -Wall -pedantic -Wno-parentheses LDLIBS += -lsqlite3 C = $(shell ls *.c) H = $(shell ls *.h) @@ -8,6 +9,10 @@ TPL = $(shell ls t/*.t | sed 's/$$/c/') cforum: $(C) $(H) $(TPL) $(CC) $(CFLAGS) $(LDFLAGS) $(LDLIBS) -o cforum $(C) +clean: + rm cforum + rm $(TPL) + .t.tc: mktpl/mktpl <$< mktpl/mktpl >$@ |