]> git.saurik.com Git - cydia.git/blame - makefile
Rapid release for iPhoneOS 2.2.
[cydia.git] / makefile
CommitLineData
59efd93a
JF
1ifndef PKG_TARG
2target :=
3else
4target := $(PKG_TARG)-
5endif
b0d03ade 6
2bfeaf6f 7all: Cydia
a75f53e7 8
b0d03ade 9clean:
2bfeaf6f 10 rm -f Cydia
b0d03ade 11
2bfeaf6f
JF
12Cydia: Cydia.mm ../uicaboodle.m/*.mm ../mobilesubstrate/*.h *.h makefile
13 $(target)g++ -march=armv6 -mcpu=arm1176jzf-s -I../uicaboodle.m -I../mobilesubstrate -fobjc-call-cxx-cdtors -g0 -O2 -Wall -Werror -o $@ $(filter %.mm,$^) -framework UIKit -framework IOKit -framework CoreFoundation -framework Foundation -framework CoreGraphics -framework GraphicsServices -framework MessageUI -framework QuartzCore -framework JavaScriptCore -framework WebCore -framework WebKit -lobjc -lapt-pkg -lpcre -fobjc-exceptions -F"$${PKG_ROOT}"/System/Library/PrivateFrameworks -multiply_defined suppress
b0d03ade 14
23bcd525 15sign: Cydia
cb9c2100 16 CODESIGN_ALLOCATE=$$(which "$(target)codesign_allocate") /apl/tel/util/ldid -Slaunch.xml Cydia
23bcd525
JF
17
18.PHONY: all clean sign