aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMax Horn2004-03-03 23:39:23 +0000
committerMax Horn2004-03-03 23:39:23 +0000
commit8f8d992a3c1e46916ab1d26bc1c562da76ae4b44 (patch)
tree689d8ea678931554d2dd2a8e58ba78b4d5b2492b /Makefile
parent333d2da1da40d3547f823c5a20c8c586a7fc3c43 (diff)
downloadscummvm-rg350-8f8d992a3c1e46916ab1d26bc1c562da76ae4b44.tar.gz
scummvm-rg350-8f8d992a3c1e46916ab1d26bc1c562da76ae4b44.tar.bz2
scummvm-rg350-8f8d992a3c1e46916ab1d26bc1c562da76ae4b44.zip
sdl-config --static-libs finally works in SDL 1.2.7, make use of it
svn-id: r13172
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 707a90f7e9..10f9644028 100644
--- a/Makefile
+++ b/Makefile
@@ -97,13 +97,11 @@ bundle: scummvm-static
# Special target to create a static linked binary for Mac OS X
scummvm-static: $(OBJS)
$(CXX) $(LDFLAGS) -o scummvm-static $(OBJS) \
- /sw/lib/libSDLmain.a /sw/lib/libSDL.a \
+ `sdl-config --static-libs` \
/sw/lib/libmad.a \
/sw/lib/libvorbisfile.a /sw/lib/libvorbis.a /sw/lib/libogg.a \
/sw/lib/libmpeg2.a \
- -lz \
- -framework Cocoa -framework Carbon -framework IOKit \
- -framework OpenGL -framework AGL -framework QuickTime \
- -framework AudioUnit -framework AudioToolbox
+ /sw/lib/libFLAC.a \
+ -lz
.PHONY: deb bundle test