summary refs log tree commit diff
path: root/www/temp.causal.agency/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-09-23 22:23:27 -0400
committerJune McEnroe <june@causal.agency>2021-09-23 22:23:27 -0400
commit422e835ad33a11dbff86b7f526b591a191c8c407 (patch)
tree42264e00ee0d9cbd2476dd0a5b5fd3f30122df92 /www/temp.causal.agency/Makefile
parentAdd quick (diff)
downloadsrc-422e835ad33a11dbff86b7f526b591a191c8c407.tar.gz
src-422e835ad33a11dbff86b7f526b591a191c8c407.zip
Make up build away from FreeBSD
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: