]> git.saurik.com Git - cydia.git/blame - makefile
Blue, UTF-8, Search sizing, and file trees.
[cydia.git] / makefile
CommitLineData
ab398adf
JF
1ifndef PKG_TARG
2target :=
3else
4target := $(PKG_TARG)-
5endif
5f6bff8c 6
51a1ffdf 7all: Cydia exec
dc5812ec 8
5f6bff8c
JF
9clean:
10 rm -f Cydia exec
11
51a1ffdf 12exec: exec.mm makefile
5f6bff8c 13 $(target)g++ -Wall -Werror -o $@ $< -framework Foundation -framework CoreFoundation -lobjc
49048579 14
308c0380 15Cydia: Cydia.mm ../uicaboodle.m/*.mm *.h makefile
bbb879fb 16 $(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 -framework LayerKit -lobjc -lapt-pkg -lpcre -fobjc-exceptions -I/apl/i20 -F$${PKG_ROOT}/System/Library/PrivateFrameworks
5f6bff8c 17
ab398adf 18.PHONY: all clean