summaryrefslogtreecommitdiff
path: root/makefile
blob: 9ffa5e9f826795ea65a7d7d0cb4a9e0603003db5 (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 Foundation -framework CoreFoundation -framework CoreGraphics -framework GraphicsServices -lobjc -lapt-pkg -lpcre -fobjc-exceptions