]> git.saurik.com Git - cydia.git/blame_incremental - makefile
Massive stability and feature improvements to Cydia.
[cydia.git] / makefile
... / ...
CommitLineData
1ifndef PKG_TARG
2target :=
3else
4target := $(PKG_TARG)-
5endif
6
7all: Cydia exec
8
9clean:
10 rm -f Cydia exec
11
12exec: exec.mm makefile
13 $(target)g++ -Wall -Werror -o $@ $< -framework Foundation -framework CoreFoundation -lobjc
14
15Cydia: Cydia.mm ../uicaboodle.m/*.mm *.h makefile
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 -lobjc -lapt-pkg -lpcre -fobjc-exceptions -F"$${PKG_ROOT}"/System/Library/PrivateFrameworks
17
18sign: Cydia
19 CODESIGN_ALLOCATE=$$(which "$(target)codesign_allocate") /apl/tel/util/ldid -Slaunch.xml Cydia
20
21.PHONY: all clean sign