dungeon_crawler
changeset 13:6a650b3b7084
mac crap
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 19 Aug 2012 05:50:58 +0300 |
parents | e95462632f9a |
children | 67ae9fcb802c |
files | prototype/build/macapp.mk prototype/build/macinfo.plist |
diffstat | 2 files changed, 31 insertions(+), 0 deletions(-) [+] |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/prototype/build/macapp.mk Sun Aug 19 05:50:58 2012 +0300 1.3 @@ -0,0 +1,15 @@ 1.4 +.PHONY: macapp 1.5 +macapp: $(bin).app 1.6 + 1.7 +$(bin).app: $(bin) 1.8 + mkdir -p $(bin).app/Contents/MacOS $(bin).app/Contents/Frameworks 1.9 + cd $(bin).app/Contents && \ 1.10 + cp ../../build/macinfo.plist Info.plist 1.11 + cp $(bin) $(bin).app/Contents/MacOS/$(bin) 1.12 + 1.13 + 1.14 +#cd $(bin).app/Contents/Frameworks && \ 1.15 +# rm -f libglory.dylib && \ 1.16 +# ln -s ../../../../libglory.dylib . 1.17 +# install_name_tool -change libglory.dylib @execitable_path/../Frameworks/libglory.dylib \ 1.18 +# $(bin).app/Contents/MacOS/$(bin)
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/prototype/build/macinfo.plist Sun Aug 19 05:50:58 2012 +0300 2.3 @@ -0,0 +1,16 @@ 2.4 +<?xml version="1.0" encoding="UTF-8"?> 2.5 +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 2.6 +<plist version="1.0"> 2.7 +<dict> 2.8 + <key>CFBundleDevelopmentRegion</key><string>Global</string> 2.9 + <key>CFBundleExecutable</key><string>proto</string> 2.10 + <key>CFBundleDisplayName</key><string>prototype</string> 2.11 + <key>CFBundleName</key><string>Dungeon Crawler Prototype</string> 2.12 + <key>CFBundleIdentifier</key><string>com.mindlapse.dcrawl</string> 2.13 + <key>CFBundlePackageType</key><string>APPL</string> 2.14 + <key>CFBundleSignature</key><string>cglt</string> 2.15 + <key>CFBundleShortVersionString</key><string>0.1</string> 2.16 + <key>CFBundleVersion</key><string>0.1</string> 2.17 + <key>CFBundleInfoDictionaryVersion</key><string>6.0</string> 2.18 +</dict> 2.19 +</plist>