]> git.saurik.com Git - cydia.git/blame - makefile
Factored out common code to common subproject.
[cydia.git] / makefile
CommitLineData
dc5812ec
JF
1iPhone := 192.168.1.100
2
5f6bff8c
JF
3target := $${PKG_TARG}-
4
51a1ffdf 5all: Cydia exec
dc5812ec 6
5f6bff8c
JF
7clean:
8 rm -f Cydia exec
9
dc5812ec
JF
10test: all
11 scp -p Cydia saurik@$(iPhone):/dat
12 ssh saurik@$(iPhone) /dat/Cydia
13
51a1ffdf 14exec: exec.mm makefile
5f6bff8c 15 $(target)g++ -Wall -Werror -o $@ $< -framework Foundation -framework CoreFoundation -lobjc
49048579 16
308c0380
JF
17Cydia: 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