summaryrefslogtreecommitdiff
path: root/makefile
blob: b0ea315055cac28dc3def7f2e6b9abb74d835490 (plain)
1
2
3
4
5
6
7
8
9
10
iPhone := 192.168.1.100

all: Cydia

test: all
	scp -p Cydia saurik@$(iPhone):/dat
	ssh saurik@$(iPhone) /dat/Cydia

Cydia: *.mm makefile
	arm-apple-darwin-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