summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-07-09 18:57:29 -0400
committerJune McEnroe <june@causal.agency>2020-07-09 18:57:29 -0400
commit7b521cf75376ccfd38c2ff077c854b408fe616ff (patch)
tree4e510cf548fc02e9a7cbbf6bc209259d5ec06428 /Makefile
parentImplement basic contexts listing (diff)
downloadscooper-7b521cf75376ccfd38c2ff077c854b408fe616ff.tar.gz
scooper-7b521cf75376ccfd38c2ff077c854b408fe616ff.zip
Split code and add breadcrumb nav
Diffstat (limited to '')
-rw-r--r--Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 94ca089..47f6aa4 100644
--- a/Makefile
+++ b/Makefile
@@ -6,10 +6,20 @@ LDLIBS = -lkcgi -lkcgihtml -lsqlite3
 
 -include config.mk
 
-scooper:
+OBJS += contexts.o
+OBJS += events.o
+OBJS += html.o
+OBJS += networks.o
+OBJS += search.o
+OBJS += server.o
+
+scooper: ${OBJS}
+	${CC} ${LDFLAGS} ${OBJS} ${LDLIBS} -o $@
+
+${OBJS}: server.h
 
 clean:
-	rm -f scooper
+	rm -f scooper ${OBJS}
 
 install: scooper scooper.1
 	install -d ${PREFIX}/bin ${MANDIR}/man1