]> git.saurik.com Git - cydia.git/blob - makefile
Began factoring out some common tools.
[cydia.git] / makefile
1 iPhone := 192.168.1.100
2
3 target := $${PKG_TARG}-
4
5 all: Cydia exec
6
7 clean:
8 rm -f Cydia exec
9
10 test: all
11 scp -p Cydia saurik@$(iPhone):/dat
12 ssh saurik@$(iPhone) /dat/Cydia
13
14 exec: exec.mm makefile
15 $(target)g++ -Wall -Werror -o $@ $< -framework Foundation -framework CoreFoundation -lobjc
16
17 Cydia: Cydia.mm RVBook.mm RVPage.mm *.h makefile
18 $(target)g++ -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
19
20 .PHONY: all clean test