7 all: WinterBoard WinterBoard.dylib UIImages
10 rm -f WinterBoard WinterBoard.dylib UIImages
12 WinterBoard.dylib: Library.mm makefile
13 $(target)g++ -dynamiclib -g0 -O2 -Wall -Werror -o $@ $(filter %.mm,$^) -framework UIKit -framework CoreFoundation -framework Foundation -lobjc -init _WBInitialize -I/apl/inc/iPhoneOS-2.0 -framework CoreGraphics
15 UIImages: UIImages.mm makefile
16 $(target)g++ -g0 -O2 -Wall -Werror -o $@ $(filter %.mm,$^) -framework UIKit -framework Foundation -framework CoreFoundation -lobjc
18 WinterBoard: Application.mm makefile
19 $(target)g++ -g0 -O2 -Wall -Werror -o $@ $(filter %.mm,$^) -framework UIKit -framework Foundation -framework CoreFoundation -lobjc -framework CoreGraphics
23 mkdir -p winterboard/DEBIAN
24 mkdir -p winterboard/Applications/WinterBoard.app
25 mkdir -p winterboard/Library/Themes
26 cp -a Nature winterboard/Library/Themes/com.saurik.WinterBoard.Nature
27 cp -a control preinst postinst prerm winterboard/DEBIAN
28 cp -a Test.sh icon.png WinterBoard.dylib WinterBoard UIImages Info.plist ../pledit/pledit winterboard/Applications/WinterBoard.app
29 dpkg-deb -b winterboard winterboard_0.9.2504-1_iphoneos-arm.deb
31 .PHONY: all clean package