From d2e5ddb52415c99a300d843347b52a9bd32c63a1 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Fri, 1 May 2020 12:42:33 -0400 Subject: Set up Makefile for FreeBSD --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') 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 -- cgit 1.4.1