summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorZachary Slater <zachary@ioquake.org>2012-07-18 04:57:52 +0000
committerTim Angus <tim@ngus.net>2013-01-12 20:46:32 +0000
commit277a46efe050791cb52f30f8eccd091c3c0f542d (patch)
tree30fd70211a586a33b787d0938295245bf79f8ef5 /Makefile
parentc2b93d4d1c0a702c5f486d1448e95dae6256aab8 (diff)
switch mac to the framework SDL...
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e1f64469..5046c0f4 100644
--- a/Makefile
+++ b/Makefile
@@ -385,7 +385,7 @@ else # ifeq Linux
ifeq ($(PLATFORM),darwin)
HAVE_VM_COMPILED=true
- LIBS = -framework Cocoa
+ LIBS = -framework Cocoa -framework SDL
CLIENT_LIBS=
RENDERER_LIBS=
OPTIMIZEVM=
@@ -442,8 +442,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