diff options
author | Max Horn | 2002-12-01 20:29:20 +0000 |
---|---|---|
committer | Max Horn | 2002-12-01 20:29:20 +0000 |
commit | 5b188353de50190dea8df123891f5934d8d94ed7 (patch) | |
tree | 928ad300ed46278fcbe8eff9c8dcb94b45dcebf3 /Makefile | |
parent | 791d92495e8f0ea29c9dbc28bebdb69143d8e050 (diff) | |
download | scummvm-rg350-5b188353de50190dea8df123891f5934d8d94ed7.tar.gz scummvm-rg350-5b188353de50190dea8df123891f5934d8d94ed7.tar.bz2 scummvm-rg350-5b188353de50190dea8df123891f5934d8d94ed7.zip |
OS X app bundle should contain static linked executable; 'bool' is part of the C++ standard
svn-id: r5795
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -75,10 +75,17 @@ deb: # Special target to create a application wrapper for Mac OS X bundle_name = ScummVM.app -bundle: scummvm +bundle: scummvm-static mkdir -p $(bundle_name)/Contents/MacOS mkdir -p $(bundle_name)/Contents/Resources echo "APPL????" > $(bundle_name)/Contents/PkgInfo cp Info.plist $(bundle_name)/Contents/ cp scummvm.icns $(bundle_name)/Contents/Resources/ - cp $< $(bundle_name)/Contents/MacOS/ + cp scummvm-static $(bundle_name)/Contents/MacOS/scummvm + strip $(bundle_name)/Contents/MacOS/scummvm + +# 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 /sw/lib/libmad.a -framework OpenGL -framework AGL -framework IOKit -framework Cocoa -framework Carbon -framework QuickTime -framework AudioUnit + +.PHONY: deb bundle |