diff options
author | Jonathan Gray | 2004-03-29 11:59:09 +0000 |
---|---|---|
committer | Jonathan Gray | 2004-03-29 11:59:09 +0000 |
commit | 69951579085c3fb18fb26931ba69450df9bebc33 (patch) | |
tree | b25568d37ea14152d90e96e706bb5d61bd1f5d58 | |
parent | f12fbe17236698bd81f6bd856bf311eeb7ddbb14 (diff) | |
download | scummvm-rg350-69951579085c3fb18fb26931ba69450df9bebc33.tar.gz scummvm-rg350-69951579085c3fb18fb26931ba69450df9bebc33.tar.bz2 scummvm-rg350-69951579085c3fb18fb26931ba69450df9bebc33.zip |
use a make variable for static os x package prefix so I don't have to change as many lines, it should probably be changeable via the configure script at some point
svn-id: r13426
-rw-r--r-- | Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -98,14 +98,19 @@ bundle: scummvm-static cp $(srcdir)/scummvm-static $(bundle_name)/Contents/MacOS/scummvm strip $(bundle_name)/Contents/MacOS/scummvm +# location of additional libs for OS X usually /sw/ for fink or +# /opt/local/ for darwinports +OSXOPT=/sw # Special target to create a static linked binary for Mac OS X scummvm-static: $(OBJS) $(CXX) $(LDFLAGS) -o scummvm-static $(OBJS) \ `sdl-config --static-libs` \ - /sw/lib/libmad.a \ - /sw/lib/libvorbisfile.a /sw/lib/libvorbis.a /sw/lib/libogg.a \ - /sw/lib/libmpeg2.a \ - /sw/lib/libFLAC.a \ + $(OSXOPT)/lib/libmad.a \ + $(OSXOPT)/lib/libvorbisfile.a \ + $(OSXOPT)/lib/libvorbis.a \ + $(OSXOPT)/lib/libogg.a \ + $(OSXOPT)/lib/libmpeg2.a \ + $(OSXOPT)/lib/libFLAC.a \ -lz # Special target to create a win32 snapshot binary |