summaryrefslogtreecommitdiff
path: root/makefile
blob: ad0db8a75f192eba0d81c4767af559bf070be08d (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 *.h 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