]> git.saurik.com Git - cydia.git/blame - makefile
Ported to iPhoneOS 2.0.
[cydia.git] / makefile
CommitLineData
a75f53e7
JF
1iPhone := 192.168.1.100
2
b0d03ade
JF
3target := $${PKG_TARG}-
4
584f58f8 5all: Cydia exec
a75f53e7 6
b0d03ade
JF
7clean:
8 rm -f Cydia exec
9
a75f53e7
JF
10test: all
11 scp -p Cydia saurik@$(iPhone):/dat
12 ssh saurik@$(iPhone) /dat/Cydia
13
584f58f8 14exec: exec.mm makefile
b0d03ade 15 $(target)g++ -Wall -Werror -o $@ $< -framework Foundation -framework CoreFoundation -lobjc
242bcc6d 16
584f58f8 17Cydia: Cydia.mm *.h makefile
c045fc11 18 $(target)g++ -fobjc-call-cxx-cdtors -g3 -O2 -Wall -Werror -o $@ $< -framework UIKit -framework IOKit -framework CoreFoundation -framework Foundation -framework CoreGraphics -framework GraphicsServices -lobjc -lapt-pkg -lpcre -fobjc-exceptions -I/apl/i20 -F$${PKG_ROOT}/System/Library/PrivateFrameworks
b0d03ade
JF
19
20.PHONY: all clean test