dungeon_crawler
annotate prototype/build/macapp.mk @ 48:aa9e28670ae2
added sound playback, more to do
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 17 Sep 2012 08:40:59 +0300 |
parents | |
children |
rev | line source |
---|---|
nuclear@13 | 1 .PHONY: macapp |
nuclear@13 | 2 macapp: $(bin).app |
nuclear@13 | 3 |
nuclear@13 | 4 $(bin).app: $(bin) |
nuclear@13 | 5 mkdir -p $(bin).app/Contents/MacOS $(bin).app/Contents/Frameworks |
nuclear@13 | 6 cd $(bin).app/Contents && \ |
nuclear@13 | 7 cp ../../build/macinfo.plist Info.plist |
nuclear@13 | 8 cp $(bin) $(bin).app/Contents/MacOS/$(bin) |
nuclear@13 | 9 |
nuclear@13 | 10 |
nuclear@13 | 11 #cd $(bin).app/Contents/Frameworks && \ |
nuclear@13 | 12 # rm -f libglory.dylib && \ |
nuclear@13 | 13 # ln -s ../../../../libglory.dylib . |
nuclear@13 | 14 # install_name_tool -change libglory.dylib @execitable_path/../Frameworks/libglory.dylib \ |
nuclear@13 | 15 # $(bin).app/Contents/MacOS/$(bin) |