From bd6bdc34f61c3cf286ed0b23cc992e65ce49d437 Mon Sep 17 00:00:00 2001 From: Shazron Abdullah Date: Fri, 10 May 2013 17:34:19 -0700 Subject: [PATCH] Updated Makefile for homebrew --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8d307ee..9c14d7d 100644 --- a/Makefile +++ b/Makefile @@ -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