about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-11-06 23:16:11 -0500
committerJune McEnroe <june@causal.agency>2019-11-06 23:16:11 -0500
commit1768fdbbcac4390f5d9c6ef54408056602efe7ae (patch)
treeee61a1c3ae1f9a94cd084c4c741df5272200c701
parentDocument calico service configuration (diff)
downloadpounce-1768fdbbcac4390f5d9c6ef54408056602efe7ae.tar.gz
pounce-1768fdbbcac4390f5d9c6ef54408056602efe7ae.zip
Allow unsetting LIBRESSL_PREFIX
Diffstat (limited to '')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 12ae05a..4c7b47d 100644
--- a/Makefile
+++ b/Makefile
@@ -4,8 +4,8 @@ ETCDIR = ${PREFIX}/etc
 LIBRESSL_PREFIX = /usr/local
 
 CFLAGS += -std=c11 -Wall -Wextra -Wpedantic
-CFLAGS += -I${LIBRESSL_PREFIX}/include
-LDFLAGS += -L${LIBRESSL_PREFIX}/lib
+CFLAGS += ${LIBRESSL_PREFIX:%=-I%/include}
+LDFLAGS += ${LIBRESSL_PREFIX:%=-L%/lib}
 LDLIBS = -lcrypt -lcrypto -ltls
 
 BINS = calico pounce