]> git.saurik.com Git - winterboard.git/blame - makefile
Fix permissions in Debian package from OS X (ick).
[winterboard.git] / makefile
CommitLineData
fdac1738 1cycc = cycc -i2.0 -o$@ -- -Iiphone-api
cf8bb1d4 2
fdac1738 3substrate := -I../substrate -L../substrate -lsubstrate
24ba43ee 4
603984d9 5all: WinterBoard WinterBoard.dylib WinterBoardSettings Optimize
cf8bb1d4
JF
6
7clean:
603984d9 8 rm -f WinterBoard WinterBoard.dylib
cf8bb1d4 9
224d48e3 10WinterBoardSettings: Settings.mm makefile
fdac1738 11 $(cycc) -dynamiclib -g0 -O2 $(filter %.mm,$^) -framework UIKit -framework CoreFoundation -framework Foundation -lobjc -framework CoreGraphics -framework Preferences -F$(PKG_ROOT)/System/Library/PrivateFrameworks
224d48e3 12
fdac1738
JF
13WinterBoard.dylib: Library.mm WBMarkup.mm WBMarkup.h makefile ../substrate/substrate.h
14 $(cycc) -dynamiclib -g0 -O2 $(filter %.mm,$^) -framework CoreFoundation -framework Foundation -lobjc -I/apl/inc/iPhoneOS-2.0 -framework CoreGraphics -framework ImageIO -framework GraphicsServices -framework Celestial $(substrate) -framework UIKit -framework WebCore -framework WebKit -F$(PKG_ROOT)/System/Library/PrivateFrameworks
cf8bb1d4 15
62b2dbad 16WinterBoard: Application.mm makefile
fdac1738 17 $(cycc) -g0 -O2 -Werror $(filter %.mm,$^) -framework UIKit -framework Foundation -framework CoreFoundation -lobjc -framework CoreGraphics -I/apl/sdk -framework Preferences -F$(PKG_ROOT)/System/Library/PrivateFrameworks $(substrate)
62b2dbad 18
265e19b2 19Optimize: Optimize.cpp makefile
fdac1738 20 $(cycc) -g0 -O2 -Werror $(filter %.cpp,$^)
265e19b2
JF
21
22package: all
f726075b 23 sudo ./package.sh
62b2dbad
JF
24
25.PHONY: all clean package