]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
move SDLMain.m to the right place
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 31 Oct 2007 09:01:25 +0000 (09:01 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 31 Oct 2007 09:01:25 +0000 (09:01 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7659 d7cf8633-e32d-0410-b094-e92efae38249

makefile.inc

index b8adb83e393f52392cc2e5ea68c686fc2ff494fd..ae1cc029ab35897b3c7bea537ac81c5a0fa8d31d 100644 (file)
@@ -21,8 +21,8 @@ SDLCONFIG_UNIXCFLAGS?=`$(SDL_CONFIG) --cflags`
 SDLCONFIG_UNIXLIBS?=`$(SDL_CONFIG) --libs`
 SDLCONFIG_UNIXSTATICLIBS?=`$(SDL_CONFIG) --static-libs`
 SDLCONFIG_MACOSXCFLAGS=
-SDLCONFIG_MACOSXLIBS=-framework SDL -framework Cocoa SDLMain.m
-SDLCONFIG_MACOSXSTATICLIBS=-framework SDL -framework Cocoa SDLMain.m
+SDLCONFIG_MACOSXLIBS=-framework SDL -framework Cocoa
+SDLCONFIG_MACOSXSTATICLIBS=-framework SDL -framework Cocoa
 STRIP?=strip
 
 
@@ -210,7 +210,7 @@ OBJ_MACOSXCD=$(OBJ_NOCD)
 # Link
 LDFLAGS_MACOSXCL=$(LDFLAGS_UNIXCOMMON) -ldl -framework IOKit -framework Carbon $(LIB_SOUND)
 LDFLAGS_MACOSXSV=$(LDFLAGS_UNIXCOMMON) -ldl
-LDFLAGS_MACOSXSDL=$(LDFLAGS_UNIXCOMMON) -ldl $(SDLCONFIG_STATICLIBS)
+LDFLAGS_MACOSXSDL=$(LDFLAGS_UNIXCOMMON) -ldl $(SDLCONFIG_STATICLIBS) SDLMain.m
 
 OBJ_AGL= builddate.c sys_linux.o vid_agl.o $(OBJ_SOUND) $(OBJ_CD) $(OBJ_COMMON)