Finish with SDL interface for FreeBSD.
authorDavid Griffith <dave@661.org>
Wed, 4 Sep 2019 20:55:27 +0000 (20:55 +0000)
committerDavid Griffith <dave@661.org>
Wed, 4 Sep 2019 20:55:27 +0000 (20:55 +0000)
Makefile

index 97279d185eb4344b46e540007ea0d4d60f3fe78f..507816a723cff9541fa1b6b15c12cfec5aec5155 100644 (file)
--- 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.
 #