summary refs log tree commit diff
path: root/www/temp.causal.agency/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/temp.causal.agency/Makefile')
-rw-r--r--www/temp.causal.agency/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/www/temp.causal.agency/Makefile b/www/temp.causal.agency/Makefile
index 3e908305..cdcfb644 100644
--- a/www/temp.causal.agency/Makefile
+++ b/www/temp.causal.agency/Makefile
@@ -1,8 +1,7 @@
 WEBROOT = /usr/local/www/temp.causal.agency
 
-CFLAGS += -std=c11 -Wall -Wextra -Wpedantic -I/usr/local/include
-LDFLAGS += -static -L/usr/local/lib
-LDLIBS = -lkcgihtml -lkcgi -lz -lmd
+CFLAGS += -std=c11 -Wall -Wextra -Wpedantic $$(pkg-config --cflags kcgi)
+LDLIBS = -static $$(pkg-config --static --libs kcgi-html)
 
 up: