From 9163432d4b02a815ee61e6c7f2789cdd3f692eda Mon Sep 17 00:00:00 2001 From: Dagen Brock Date: Tue, 19 Apr 2016 23:51:34 -0500 Subject: [PATCH] latest vars --- src/vars_osx_sdl2 | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/src/vars_osx_sdl2 b/src/vars_osx_sdl2 index 5a4aee6..eb047ab 100644 --- a/src/vars_osx_sdl2 +++ b/src/vars_osx_sdl2 @@ -9,23 +9,13 @@ OBJECTS = $(OBJECTS1) $(TFEOBJ) $(ATOBJ) $(PCAPOBJ) sdl2_driver.o sdl2snd_driver ARCHS = ppc, i386, ppc64, x86_64 # OPTIONS FOR COMPILING C SOURCE -CCOPTS = $(MACSUX) -O2 -Wall -fomit-frame-pointer -std=gnu99 -DHAVE_SDL -DTOGGLE_STATUS -I/usr/local/include/SDL2 +CCOPTS = -O2 -Wall -fomit-frame-pointer -std=gnu99 -DHAVE_SDL -DTOGGLE_STATUS -I/usr/local/include/SDL2 # OPTIONS FOR COMPILING C++ SOURCE -CPPOPTS = -O2 -DHAVE_TFE -DHAVE_SDL -DTOGGLE_STATUS -I/usr/local/include/freetype2 -I/usr/local/include/SDL2 $(MACSUX) +CPPOPTS = -O2 -DHAVE_TFE -DHAVE_SDL -DTOGGLE_STATUS -I/usr/local/include/freetype2 -I/usr/local/include/SDL2 -#SDK = -isysroot /Developer/SDKs/MacOSX10.5.sdk -isysroot /Developer/SDKs/MacOSX10.6.sdk -isysroot /Developer/SDKs/MacOSX10.7.sdk -isysroot /Developer/SDKs/MacOSX10.9.sdk -isysroot /Developer/SDKs/MacOSX10.10.sdk -isysroot /Developer/SDKs/MacOSX10.11.sdk -#INCLUDE = -I/Developer/SDKs/MacOSX10.5.sdk/usr/include -I/Developer/SDKs/MacOSX10.6.sdk/usr/include -I/Developer/SDKs/MacOSX10.7.sdk/usr/include -I/Developer/SDKs/MacOSX10.8.sdk/usr/include -I/Developer/SDKs/MacOSX10.9.sdk/usr/include -I/Developer/SDKs/MacOSX10.10.sdk/usr/include -I/Developer/SDKs/MacOSX10.11.sdk/usr/include - - -#SDK = -isysroot /Developer/SDKs/MacOSX10.11.sdk -#INCLUDE = -I/Developer/SDKs/MacOSX10.11.sdk/usr/include - - - -MACSUX = $(SDK) $(INCLUDE) -mmacosx-version-min=10.11 EXTRA_LIBS = -lSDL2 -lfreetype OPTS = -DGSPORT_LITTLE_ENDIAN SUFFIX = -LDFLAGS = +LDFLAGS = `sdl2-config --static-libs` -L/usr/local/lib LDOPTS = -I. EXTRA_SPECIALS =