nuclear@40: simsdk = iphonesimulator5.0 nuclear@40: devsdk = iphoneos5.0 nuclear@40: nuclear@40: nuclear@40: .PHONY: all nuclear@40: all: nuclear@40: @echo 'please specify target sim or device'; false nuclear@40: nuclear@40: .PHONY: sim nuclear@40: sim: sim-debug nuclear@40: nuclear@40: .PHONY: device nuclear@40: device: device-debug nuclear@40: nuclear@40: .PHONY: sim-debug nuclear@40: sim-debug: nuclear@40: xcodebuild -configuration Debug -sdk $(simsdk) nuclear@40: nuclear@40: .PHONY: sim-release nuclear@40: sim-release: nuclear@40: xcodebuild -configuration Release -sdk $(simsdk) nuclear@40: nuclear@40: .PHONY: device-debug nuclear@40: device-debug: nuclear@40: xcodebuild -configuration Debug -sdk $(devsdk) nuclear@40: nuclear@40: .PHONY: device-release nuclear@40: device-release: nuclear@40: xcodebuild -configuration Release -sdk $(devsdk) nuclear@40: nuclear@40: .PHONY: clean nuclear@40: clean: nuclear@40: xcodebuild clean nuclear@40: nuclear@40: # untested nuclear@40: .PHONY: install nuclear@40: install: nuclear@40: xcodebuild install nuclear@41: nuclear@41: # foo nuclear@41: .PHONY: run nuclear@41: run: nuclear@41: iphonesim launch /Users/nuclear/code/idev/istereo/build/Debug-iphonesimulator/istereo.app