istereo
view 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 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