diff options
author | John Ankarström <john@ankarstrom.se> | 2021-09-17 11:20:43 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-09-17 11:20:43 +0200 |
commit | 38f8e2242353711d5c87c58f3831306934d2e6b7 (patch) | |
tree | 92ec8e297731fb1de90b0e465bb52207bbe5c037 /Makefile | |
parent | 4b0e767fd645687e8d2a5ded778c57b8cf42bc4a (diff) | |
download | cforum-38f8e2242353711d5c87c58f3831306934d2e6b7.tar.gz |
Compartmentalize
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 >$@ |