From 2095f5e1170ef38de9a6537e8154f5e9037f0d79 Mon Sep 17 00:00:00 2001 From: David Griffith Date: Wed, 4 Sep 2019 20:55:27 +0000 Subject: [PATCH] Finish with SDL interface for FreeBSD. --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 97279d1..507816a 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,9 @@ ifneq ($(OS),Windows_NT) endif ifeq ($(UNAME_S),FreeBSD) FREEBSD = yes + CFLAGS += -I/usr/local/include + LDFLAGS += -L/usr/local/lib + SDL_LDFLAGS += -lexecinfo endif ifeq ($(UNAME_S),Linux) NPROCS = $(shell grep -c ^processor /proc/cpuinfo) @@ -34,7 +37,8 @@ ifneq ($(OS),Windows_NT) endif # strdup, strndup -CFLAGS += -D_POSIX_C_SOURCE=200809L +# put this somewhere else +#CFLAGS += -D_POSIX_C_SOURCE=200809L # Define your optimization flags. # -- 2.34.1