]> git.saurik.com Git - winterboard.git/blame - makefile
The WinterBoard binary was removed quite long ago.
[winterboard.git] / makefile
CommitLineData
535a2bab 1cycc = cycc -i2.0 -o$@ -- $(filter %.mm,$^) -g0 -O2 -Werror -Iiphone-api -F/System/Library/PrivateFrameworks -Xarch_armv6 -marm
cf8bb1d4 2
fdac1738 3substrate := -I../substrate -L../substrate -lsubstrate
24ba43ee 4
2d22c5ec 5all: WinterBoard.dylib WinterBoardSettings Optimize
cf8bb1d4
JF
6
7clean:
2d22c5ec 8 rm -f WinterBoard.dylib WinterBoardSettings Optimize
cf8bb1d4 9
224d48e3 10WinterBoardSettings: Settings.mm makefile
c4bc3f11 11 $(cycc) -std=c++11 -dynamiclib \
edbc3022
JF
12 -framework UIKit \
13 -framework CoreFoundation \
14 -framework Foundation \
15 -framework CoreGraphics \
16 -framework Preferences \
17 -lobjc
224d48e3 18
fdac1738 19WinterBoard.dylib: Library.mm WBMarkup.mm WBMarkup.h makefile ../substrate/substrate.h
0db8a084 20 $(cycc) -std=c++11 -dynamiclib \
edbc3022
JF
21 -framework CoreFoundation \
22 -framework Foundation \
23 -framework CoreGraphics \
edbc3022
JF
24 -framework GraphicsServices \
25 -framework Celestial \
26 -framework UIKit \
27 -framework WebCore \
28 -framework WebKit \
29 -lobjc $(substrate)
cf8bb1d4 30
265e19b2 31Optimize: Optimize.cpp makefile
edbc3022 32 $(cycc) $(filter %.cpp,$^)
265e19b2
JF
33
34package: all
f726075b 35 sudo ./package.sh
62b2dbad
JF
36
37.PHONY: all clean package