Updated Makefile for homebrew

This commit is contained in:
Shazron Abdullah 2013-05-10 17:34:19 -07:00
parent bab114a250
commit bd6bdc34f6

View File

@ -1,7 +1,7 @@
IOS_CC = clang
IOS_SDK = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk
all: demo.app ios-deploy
all: ios-deploy
demo.app: demo Info.plist
mkdir -p demo.app
@ -16,7 +16,8 @@ ios-deploy: ios-deploy.c
gcc -o ios-deploy -framework CoreFoundation -framework MobileDevice -F/System/Library/PrivateFrameworks ios-deploy.c
install: all
./ios-deploy --bundle demo.app
mkdir -p $(prefix)/bin
cp ios-deploy $(prefix)/bin
debug: all
./ios-deploy --debug --bundle demo.app