]> git.saurik.com Git - cydia.git/blame - makefile
Figured out (a while ago, on my iPhone) why table cell diselection was broken.
[cydia.git] / makefile
CommitLineData
59efd93a
JF
1ifndef PKG_TARG
2target :=
3else
4target := $(PKG_TARG)-
5endif
b0d03ade 6
b27f0a94
JF
7frameworks :=
8
9ifneq ($(wildcard $(PKG_ROOT)/System/Library/*Frameworks/LayerKit.framework),)
10frameworks += -framework LayerKit
11endif
12
584f58f8 13all: Cydia exec
a75f53e7 14
b0d03ade
JF
15clean:
16 rm -f Cydia exec
17
584f58f8 18exec: exec.mm makefile
b0d03ade 19 $(target)g++ -Wall -Werror -o $@ $< -framework Foundation -framework CoreFoundation -lobjc
242bcc6d 20
423f8cb9 21Cydia: Cydia.mm ../uicaboodle.m/*.mm *.h makefile
b27f0a94 22 $(target)g++ -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 $(frameworks) -lobjc -lapt-pkg -lpcre -fobjc-exceptions -I/apl/i20 -F"$${PKG_ROOT}"/System/Library/PrivateFrameworks
b0d03ade 23
23bcd525
JF
24sign: Cydia
25 CODESIGN_ALLOCATE=$$(which "$(target)codesign_allocate") /apl/tel/util/ldid -S Cydia
26
27.PHONY: all clean sign