diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2010-10-04 04:28:46 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-10-04 04:28:46 -0700 |
commit | ee4120ad73865a96d394b3ea36b2a3fe25f9473a (patch) | |
tree | a402737363423bc2ef8223a2ef91a7dc349c7960 /makefile | |
parent | da961b4be7abe043920f672c7020692adc81f9ac (diff) |
Remove cycc requirement.
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -6,7 +6,9 @@ link := #dpkg := /Library/Cydia/bin/dpkg-deb -Zlzma dpkg := dpkg-deb -flags += -F/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS$(ios).sdk/System/Library/PrivateFrameworks +sdk := /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS$(ios).sdk + +flags += -F$(sdk)/System/Library/PrivateFrameworks flags += -I. -isystem sysroot/usr/include -Lsysroot/usr/lib flags += -Wall -Werror -Wno-deprecated-declarations flags += -fmessage-length=0 @@ -31,13 +33,17 @@ link += -lpcre link += -multiply_defined suppress +#cycc = cycc -r4.2 -i$(ios) -o$@ +gxx := /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++ +cycc = $(gxx) -arch armv6 -o $@ -mcpu=arm1176jzf-s -miphoneos-version-min=$(ios) -isysroot $(sdk) -idirafter /usr/include -F/Library/Frameworks + all: Cydia clean: rm -f Cydia Cydia: Cydia.mm Reachability.mm UICaboodle/*.mm iPhonePrivate.h - cycc -r4.2 -i$(ios) -o$@ -- $(filter %.mm,$^) $(flags) $(link) + $(cycc) $(filter %.mm,$^) $(flags) $(link) package: Cydia sudo rm -rf _ |