dungeon_crawler

diff prototype/build/macapp.mk @ 13:6a650b3b7084

mac crap
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 19 Aug 2012 05:50:58 +0300
parents
children
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)