From 8f8d992a3c1e46916ab1d26bc1c562da76ae4b44 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 3 Mar 2004 23:39:23 +0000 Subject: sdl-config --static-libs finally works in SDL 1.2.7, make use of it svn-id: r13172 --- Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3