switch mac to the framework SDL...

This commit is contained in:
Zachary Slater 2012-07-18 04:57:52 +00:00
parent 88cbeae0fd
commit afffc10a54

View file

@ -401,7 +401,7 @@ else # ifeq Linux
ifeq ($(PLATFORM),darwin)
HAVE_VM_COMPILED=true
LIBS = -framework Cocoa
LIBS = -framework Cocoa -framework SDL
CLIENT_LIBS=
RENDERER_LIBS=
OPTIMIZEVM=
@ -458,8 +458,8 @@ ifeq ($(PLATFORM),darwin)
LIBSDLMAIN=$(B)/libSDLmain.a
LIBSDLMAINSRC=$(LIBSDIR)/macosx/libSDLmain.a
CLIENT_LIBS += -framework IOKit \
$(LIBSDIR)/macosx/libSDL-1.2.0.dylib
RENDERER_LIBS += -framework OpenGL $(LIBSDIR)/macosx/libSDL-1.2.0.dylib
-framework SDL
RENDERER_LIBS += -framework OpenGL -framework SDL
OPTIMIZEVM += -falign-loops=16
OPTIMIZE = $(OPTIMIZEVM) -ffast-math