]>
Commit | Line | Data |
---|---|---|
ab398adf JF |
1 | ifndef PKG_TARG |
2 | target := | |
3 | else | |
4 | target := $(PKG_TARG)- | |
5 | endif | |
5f6bff8c | 6 | |
51a1ffdf | 7 | all: Cydia exec |
dc5812ec | 8 | |
5f6bff8c JF |
9 | clean: |
10 | rm -f Cydia exec | |
11 | ||
51a1ffdf | 12 | exec: exec.mm makefile |
5f6bff8c | 13 | $(target)g++ -Wall -Werror -o $@ $< -framework Foundation -framework CoreFoundation -lobjc |
49048579 | 14 | |
308c0380 | 15 | Cydia: Cydia.mm ../uicaboodle.m/*.mm *.h makefile |
affeffc7 | 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 |
5f6bff8c | 17 | |
8cc774c5 | 18 | sign: Cydia |
c390d3ab | 19 | CODESIGN_ALLOCATE=$$(which "$(target)codesign_allocate") /apl/tel/util/ldid -Slaunch.xml Cydia |
8cc774c5 JF |
20 | |
21 | .PHONY: all clean sign |