istereo

annotate 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
rev   line source
nuclear@40 1 simsdk = iphonesimulator5.0
nuclear@40 2 devsdk = iphoneos5.0
nuclear@40 3
nuclear@40 4
nuclear@40 5 .PHONY: all
nuclear@40 6 all:
nuclear@40 7 @echo 'please specify target sim or device'; false
nuclear@40 8
nuclear@40 9 .PHONY: sim
nuclear@40 10 sim: sim-debug
nuclear@40 11
nuclear@40 12 .PHONY: device
nuclear@40 13 device: device-debug
nuclear@40 14
nuclear@40 15 .PHONY: sim-debug
nuclear@40 16 sim-debug:
nuclear@40 17 xcodebuild -configuration Debug -sdk $(simsdk)
nuclear@40 18
nuclear@40 19 .PHONY: sim-release
nuclear@40 20 sim-release:
nuclear@40 21 xcodebuild -configuration Release -sdk $(simsdk)
nuclear@40 22
nuclear@40 23 .PHONY: device-debug
nuclear@40 24 device-debug:
nuclear@40 25 xcodebuild -configuration Debug -sdk $(devsdk)
nuclear@40 26
nuclear@40 27 .PHONY: device-release
nuclear@40 28 device-release:
nuclear@40 29 xcodebuild -configuration Release -sdk $(devsdk)
nuclear@40 30
nuclear@40 31 .PHONY: clean
nuclear@40 32 clean:
nuclear@40 33 xcodebuild clean
nuclear@40 34
nuclear@40 35 # untested
nuclear@40 36 .PHONY: install
nuclear@40 37 install:
nuclear@40 38 xcodebuild install