summary refs log tree commit diff
path: root/www/text.causal.agency/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--www/text.causal.agency/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/www/text.causal.agency/Makefile b/www/text.causal.agency/Makefile
index 380af0fd..223c4e2f 100644
--- a/www/text.causal.agency/Makefile
+++ b/www/text.causal.agency/Makefile
@@ -1,4 +1,7 @@
-WEBROOT = /usr/local/www/text.causal.agency
+WEBROOT ?= /usr/local/www/text.causal.agency
+LIBEXEC ?= /usr/local/libexec
+
+CFLAGS += -Wall -Wextra
 
 TXTS += 001-make.txt
 TXTS += 002-writing-mdoc.txt
@@ -26,7 +29,11 @@ feed.atom: feed.sh ${TXTS}
 	sh feed.sh > feed.atom
 
 clean:
-	rm -f ${TXTS} feed.atom
+	rm -f ${TXTS} feed.atom igp
 
 install: ${TXTS} feed.atom
 	install -p -m 644 ${TXTS} feed.atom ${WEBROOT}
+
+install-igp: igp
+	install igp ${LIBEXEC}
+	install -p -m 644 igp.c ${WEBROOT}