]> git.saurik.com Git - uikittools.git/blame - makefile
Adding gssc and updating uicache.
[uikittools.git] / makefile
CommitLineData
020dfc54 1uikittools = uiduid uishoot uicache uiopen gssc
2a72f832
JF
2
3all: $(uikittools)
4
5clean:
6 rm -f $(uikittools)
7
8.PHONY: all clean package
a60b86de
JF
9
10%: %.mm
020dfc54 11 $${PKG_TARG}-g++ -o $@ $< -framework CoreFoundation -framework Foundation -framework UIKit -framework GraphicsServices -F"$${PKG_ROOT}"/System/Library/PrivateFrameworks -lobjc
2a72f832
JF
12 ldid -S $@
13
14package: 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