about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 1cb3bf4..b6387ef 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,7 @@ TEST_DB = ~/.local/share/litterbox/litterbox.sqlite
 -include config.mk
 
 OBJS += contexts.o
+OBJS += css.o
 OBJS += events.o
 OBJS += html.o
 OBJS += networks.o
@@ -24,9 +25,7 @@ scooper: ${OBJS}
 
 ${OBJS}: server.h
 
-server.o: css.h
-
-css.h: css.sh default.css color.css
+css.c: css.sh default.css color.css
 	sh css.sh default.css color.css > $@
 
 test: .test
@@ -39,7 +38,7 @@ tags: *.c *.h
 	ctags -w *.c *.h
 
 clean:
-	rm -f scooper ${OBJS} css.h .test tags
+	rm -f scooper ${OBJS} css.c .test tags
 
 install: scooper scooper.1
 	install -d ${PREFIX}/bin ${MANDIR}/man1