.SUFFIXES: .c .t .tc LDFLAGS += -lsqlite3 cforum: cforum.c front.c front.tc $(CC) $(CFLAGS) $(LDFLAGS) -o cforum cforum.c .t.tc: maketpl <$< ./maketpl >$@ db: sqlite3 db "CREATE TABLE settings(key UNIQUE, value);" sqlite3 db "INSERT INTO settings values('name', 'C Forum');"