]> git.saurik.com Git - cydia.git/blame - makefile
Made internals.h 2.0 compatibile.
[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
b0d03ade
JF
18 $(target)g++ -fobjc-call-cxx-cdtors -g3 -O2 -Wall -Werror -o $@ $< -framework UIKit -framework IOKit -framework Foundation -framework CoreFoundation -framework CoreGraphics -framework GraphicsServices -lobjc -lapt-pkg -lpcre -fobjc-exceptions
19
20.PHONY: all clean test