From: havoc Date: Thu, 6 Mar 2008 19:44:56 +0000 (+0000) Subject: added a -I option on Mac OSX SDL builds to include the relevant Headers X-Git-Tag: xonotic-v0.1.0preview~2334 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9c0aa6e516f14c6ead2337e6f402bf5bdd460918;p=xonotic%2Fdarkplaces.git added a -I option on Mac OSX SDL builds to include the relevant Headers directory, added a reference to this in the relevant LIBS variables (because SDLMain.m needs the includes as well) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8192 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/makefile.inc b/makefile.inc index 9a9c51bb..93fccf49 100644 --- a/makefile.inc +++ b/makefile.inc @@ -20,9 +20,9 @@ SDL_CONFIG?=sdl-config SDLCONFIG_UNIXCFLAGS?=`$(SDL_CONFIG) --cflags` SDLCONFIG_UNIXLIBS?=`$(SDL_CONFIG) --libs` SDLCONFIG_UNIXSTATICLIBS?=`$(SDL_CONFIG) --static-libs` -SDLCONFIG_MACOSXCFLAGS= -SDLCONFIG_MACOSXLIBS=-framework SDL -framework Cocoa -SDLCONFIG_MACOSXSTATICLIBS=-framework SDL -framework Cocoa +SDLCONFIG_MACOSXCFLAGS=-I/Library/Frameworks/SDL.framework/Headers +SDLCONFIG_MACOSXLIBS=-framework SDL -framework Cocoa $(SDLCONFIG_MACOSXCFLAGS) +SDLCONFIG_MACOSXSTATICLIBS=-framework SDL -framework Cocoa $(SDLCONFIG_MACOSXCFLAGS) STRIP?=strip