sgl

diff tests/tests-makefile @ 23:505915b0f3da

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 26 Jun 2011 23:59:40 +0300
parents b5c852d7661e
children
line diff
     1.1 --- a/tests/tests-makefile	Sun Jun 26 23:57:53 2011 +0300
     1.2 +++ b/tests/tests-makefile	Sun Jun 26 23:59:40 2011 +0300
     1.3 @@ -32,10 +32,10 @@
     1.4  clean:
     1.5  	rm -f $(obj) $(bin)
     1.6  
     1.7 -.PHONY: install
     1.8 -install:
     1.9 +.PHONY: app
    1.10 +app: $(bin)
    1.11  	mkdir -p Test.app/Contents/MacOS Test.app/Contents/Frameworks
    1.12 -	cd Test.app/Contents; ln -s ../../../tests-macinfo.plist Info.plist
    1.13 +	cd Test.app/Contents; rm -f Info.plist; ln -s ../../../tests-macinfo.plist Info.plist
    1.14  	cp $(bin) Test.app/Contents/MacOS/test
    1.15 -	cd Test.app/Contents/Frameworks; ln -s ../../../../../libsgl.dylib .
    1.16 +	cd Test.app/Contents/Frameworks; rm -f libsgl.dylib; ln -s ../../../../../libsgl.dylib .
    1.17  	install_name_tool -change libsgl.dylib @executable_path/../Frameworks/libsgl.dylib Test.app/Contents/MacOS/test