diff options
author | John Ankarström <john@ankarstrom.se> | 2021-09-17 01:14:23 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-09-17 01:14:23 +0200 |
commit | 470fc96361fe47b5b4a72deaa8fb3b736f30a471 (patch) | |
tree | 1cf91d0697388006ae9748e41fced9609e316ac2 /Makefile | |
download | cforum-470fc96361fe47b5b4a72deaa8fb3b736f30a471.tar.gz |
First commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4bf3230 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +.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');"
\ No newline at end of file |