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
-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
McEnroe 2019-12-22Export To and CC headersJune McEnroe 2019-12-22Add missing includeJune McEnroe 2019-12-22Export In-Reply-To headersJune McEnroe 2019-12-21Add git-fetch-email to READMEJune McEnroe 2019-12-21Clarify purpose in READMEJune McEnroe 2019-12-21Add READMEJune McEnroe 2019-12-21Add copyright header to git-fetch-emailJune McEnroe 2019-12-21Add git-fetch-email to SEE ALSO of imboxJune McEnroe 2019-12-21Add git-fetch-email wrapperJune McEnroe 2019-12-21Determine host by SRV lookupJune McEnroe 2019-12-21Clean up remaining codeJune McEnroe 2019-12-21Clean up mboxrd codeJune McEnroe 2019-12-21Convert CRLF to LFJune McEnroe 2019-12-21Implement -CFSTJune McEnroe 2019-12-21Rewrite aspirational manualJune McEnroe 2019-12-21Null-terminate read literalsJune McEnroe