istereo
diff Makefile.xcbuild @ 40:9e8fb79fd959
converted to xcode 4
created xcodebuild makefile
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 19 Feb 2012 17:25:41 +0200 |
parents | |
children | b5cce4258afb |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/Makefile.xcbuild Sun Feb 19 17:25:41 2012 +0200 1.3 @@ -0,0 +1,38 @@ 1.4 +simsdk = iphonesimulator5.0 1.5 +devsdk = iphoneos5.0 1.6 + 1.7 + 1.8 +.PHONY: all 1.9 +all: 1.10 + @echo 'please specify target sim or device'; false 1.11 + 1.12 +.PHONY: sim 1.13 +sim: sim-debug 1.14 + 1.15 +.PHONY: device 1.16 +device: device-debug 1.17 + 1.18 +.PHONY: sim-debug 1.19 +sim-debug: 1.20 + xcodebuild -configuration Debug -sdk $(simsdk) 1.21 + 1.22 +.PHONY: sim-release 1.23 +sim-release: 1.24 + xcodebuild -configuration Release -sdk $(simsdk) 1.25 + 1.26 +.PHONY: device-debug 1.27 +device-debug: 1.28 + xcodebuild -configuration Debug -sdk $(devsdk) 1.29 + 1.30 +.PHONY: device-release 1.31 +device-release: 1.32 + xcodebuild -configuration Release -sdk $(devsdk) 1.33 + 1.34 +.PHONY: clean 1.35 +clean: 1.36 + xcodebuild clean 1.37 + 1.38 +# untested 1.39 +.PHONY: install 1.40 +install: 1.41 + xcodebuild install