]> git.saurik.com Git - cydia.git/blame - makefile
Checkpoint before trying to solve the bottom alignment issue.
[cydia.git] / makefile
CommitLineData
59efd93a
JF
1ifndef PKG_TARG
2target :=
3else
4target := $(PKG_TARG)-
5endif
b0d03ade 6
584f58f8 7all: Cydia exec
a75f53e7 8
b0d03ade
JF
9clean:
10 rm -f Cydia exec
11
584f58f8 12exec: exec.mm makefile
b0d03ade 13 $(target)g++ -Wall -Werror -o $@ $< -framework Foundation -framework CoreFoundation -lobjc
242bcc6d 14
423f8cb9 15Cydia: Cydia.mm ../uicaboodle.m/*.mm *.h makefile
f464053e 16 $(target)g++ -march=armv6 -mcpu=arm1176jzf-s -I../uicaboodle.m -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 WebKit -lobjc -lapt-pkg -lpcre -fobjc-exceptions -F"$${PKG_ROOT}"/System/Library/PrivateFrameworks
b0d03ade 17
23bcd525 18sign: Cydia
cb9c2100 19 CODESIGN_ALLOCATE=$$(which "$(target)codesign_allocate") /apl/tel/util/ldid -Slaunch.xml Cydia
23bcd525
JF
20
21.PHONY: all clean sign