diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,8 +1,11 @@ .SUFFIXES: .c .t .tc LDFLAGS += -lsqlite3 -cforum: cforum.c front.c front.tc - $(CC) $(CFLAGS) $(LDFLAGS) -o cforum cforum.c +C = cforum.c err.c front.c query.c +TPL = t/err.tc t/foot.tc t/front.tc t/head.tc + +cforum: $(C) $(TPL) + $(CC) $(CFLAGS) $(LDFLAGS) -o cforum $(C) .t.tc: maketpl <$< ./maketpl >$@ |