istereo

view Makefile.xcbuild @ 41:b5cce4258afb

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 19 Feb 2012 17:37:15 +0200
parents 9e8fb79fd959
children
line source
1 simsdk = iphonesimulator5.0
2 devsdk = iphoneos5.0
5 .PHONY: all
6 all:
7 @echo 'please specify target sim or device'; false
9 .PHONY: sim
10 sim: sim-debug
12 .PHONY: device
13 device: device-debug
15 .PHONY: sim-debug
16 sim-debug:
17 xcodebuild -configuration Debug -sdk $(simsdk)
19 .PHONY: sim-release
20 sim-release:
21 xcodebuild -configuration Release -sdk $(simsdk)
23 .PHONY: device-debug
24 device-debug:
25 xcodebuild -configuration Debug -sdk $(devsdk)
27 .PHONY: device-release
28 device-release:
29 xcodebuild -configuration Release -sdk $(devsdk)
31 .PHONY: clean
32 clean:
33 xcodebuild clean
35 # untested
36 .PHONY: install
37 install:
38 xcodebuild install
40 # foo
41 .PHONY: run
42 run:
43 iphonesim launch /Users/nuclear/code/idev/istereo/build/Debug-iphonesimulator/istereo.app