]> git.saurik.com Git - uikittools.git/blob - makefile
UIKit Tools is not part of Telesphoreo.
[uikittools.git] / makefile
1 uikittools = uiduid uishoot uicache uiopen
2
3 all: $(uikittools)
4
5 clean:
6 rm -f $(uikittools)
7
8 .PHONY: all clean package
9
10 %: %.mm
11 $${PKG_TARG}-g++ -o $@ $< -framework CoreFoundation -framework Foundation -framework UIKit -lobjc
12 ldid -S $@
13
14 package: all
15 rm -rf package
16 mkdir -p package/usr/bin
17 cp -a $(uikittools) package/usr/bin
18 mkdir -p package/DEBIAN
19 cp -a control package/DEBIAN
20 rpl '%S' "$$(du -ks package | cut -d $$'\t' -f 1)" package/DEBIAN/control
21 dpkg-deb -b package uikittools_$(shell grep ^Version: control | cut -d ' ' -f 2)_iphoneos-arm.deb