]>
Commit | Line | Data |
---|---|---|
59efd93a JF |
1 | ifndef PKG_TARG |
2 | target := | |
3 | else | |
4 | target := $(PKG_TARG)- | |
5 | endif | |
b0d03ade | 6 | |
584f58f8 | 7 | all: Cydia exec |
a75f53e7 | 8 | |
b0d03ade JF |
9 | clean: |
10 | rm -f Cydia exec | |
11 | ||
584f58f8 | 12 | exec: exec.mm makefile |
b0d03ade | 13 | $(target)g++ -Wall -Werror -o $@ $< -framework Foundation -framework CoreFoundation -lobjc |
242bcc6d | 14 | |
423f8cb9 JF |
15 | Cydia: Cydia.mm ../uicaboodle.m/*.mm *.h makefile |
16 | $(target)g++ -I../uicaboodle.m -fobjc-call-cxx-cdtors -g3 -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 | |
b0d03ade | 17 | |
59efd93a | 18 | .PHONY: all clean |