X-Git-Url: https://git.saurik.com/winterboard.git/blobdiff_plain/cf8bb1d42003ff0f116bac4db1ac2397bfa86bba..26c43b47c1020faa78c7ce6559c9d1f8319b7007:/makefile diff --git a/makefile b/makefile index 2b58b06..e31d086 100644 --- a/makefile +++ b/makefile @@ -7,12 +7,22 @@ endif all: WinterBoard WinterBoard.dylib clean: - rm -f WinterBoard.dylib + rm -f WinterBoard WinterBoard.dylib -WinterBoard: *.mm makefile - $(target)gcc -fobjc-call-cxx-cdtors -bundle -g3 -O2 -Wall -Werror -o $@ $(filter %.mm,$^) -framework CoreFoundation -framework Foundation -framework UIKit -lobjc -fobjc-exceptions -flat_namespace -undefined suppress -I../uicaboodle.m +WinterBoard.dylib: Library.mm makefile + $(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 -WinterBoard.dylib: Initialization.m makefile - $(target)gcc -dynamiclib -g3 -O2 -Wall -Werror -o $@ $(filter %.m,$^) -framework CoreFoundation -framework Foundation -lobjc -init _WBInitialize +WinterBoard: Application.mm makefile + $(target)g++ -g0 -O2 -Wall -Werror -o $@ $(filter %.mm,$^) -framework UIKit -framework Foundation -framework CoreFoundation -lobjc -framework CoreGraphics -.PHONY: all clean +package: + rm -rf winterboard + mkdir -p winterboard/DEBIAN + mkdir -p winterboard/Applications/WinterBoard.app + mkdir -p winterboard/Library/Themes + cp -a Nature winterboard/Library/Themes/com.saurik.WinterBoard.Nature + cp -a control preinst postinst prerm winterboard/DEBIAN + cp -a Test.sh WinterBoard.dylib WinterBoard Info.plist ../pledit/pledit winterboard/Applications/WinterBoard.app + dpkg-deb -b winterboard winterboard_0.9.2499-2_iphoneos-arm.deb + +.PHONY: all clean package