From 1768fdbbcac4390f5d9c6ef54408056602efe7ae Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Wed, 6 Nov 2019 23:16:11 -0500 Subject: Allow unsetting LIBRESSL_PREFIX --- Makefile | 4 ++-- 1 file 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 -- cgit 1.4.1