diff options
author | June McEnroe <june@causal.agency> | 2020-05-01 12:42:33 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-05-01 12:42:33 -0400 |
commit | d2e5ddb52415c99a300d843347b52a9bd32c63a1 (patch) | |
tree | be6fbf5cee4fb3d3a6087e2d47dcf7a21e97dae8 | |
parent | Expand documentation (diff) | |
download | bubger-d2e5ddb52415c99a300d843347b52a9bd32c63a1.tar.gz bubger-d2e5ddb52415c99a300d843347b52a9bd32c63a1.zip |
Set up Makefile for FreeBSD
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile index 1ae3fb2..978af40 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,12 @@ PREFIX = /usr/local SHAREDIR = ${PREFIX}/share MANDIR = ${SHAREDIR}/man +LIBRESSL_PREFIX = /usr/local CFLAGS += -std=c11 -Wall -Wextra -Wpedantic +# XXX: avoid iconv.h from libiconv +CFLAGS += -idirafter ${LIBRESSL_PREFIX}/include +LDFLAGS += -L${LIBRESSL_PREFIX}/lib LDLIBS = -ltls -include config.mk |