]>
Commit | Line | Data |
---|---|---|
2a72f832 JF |
1 | uikittools = uiduid uishoot uicache uiopen |
2 | ||
3 | all: $(uikittools) | |
4 | ||
5 | clean: | |
6 | rm -f $(uikittools) | |
7 | ||
8 | .PHONY: all clean package | |
a60b86de JF |
9 | |
10 | %: %.mm | |
9b2ade70 | 11 | $${PKG_TARG}-g++ -o $@ $< -framework CoreFoundation -framework Foundation -framework UIKit -lobjc |
2a72f832 JF |
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 |