]>
Commit | Line | Data |
---|---|---|
dc5812ec JF |
1 | iPhone := 192.168.1.100 |
2 | ||
5f6bff8c JF |
3 | target := $${PKG_TARG}- |
4 | ||
51a1ffdf | 5 | all: Cydia exec |
dc5812ec | 6 | |
5f6bff8c JF |
7 | clean: |
8 | rm -f Cydia exec | |
9 | ||
dc5812ec JF |
10 | test: all |
11 | scp -p Cydia saurik@$(iPhone):/dat | |
12 | ssh saurik@$(iPhone) /dat/Cydia | |
13 | ||
51a1ffdf | 14 | exec: exec.mm makefile |
5f6bff8c | 15 | $(target)g++ -Wall -Werror -o $@ $< -framework Foundation -framework CoreFoundation -lobjc |
49048579 | 16 | |
308c0380 JF |
17 | Cydia: Cydia.mm ../uicaboodle.m/*.mm *.h makefile |
18 | $(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 | |
5f6bff8c JF |
19 | |
20 | .PHONY: all clean test |