dungeon_crawler

annotate prototype/build/macapp.mk @ 63:7f52d6310317

fixed design issue with datafile_path
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 02 Oct 2012 04:52: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)