]>
Commit | Line | Data |
---|---|---|
535a2bab | 1 | cycc = cycc -i2.0 -o$@ -- $(filter %.mm,$^) -g0 -O2 -Werror -Iiphone-api -F/System/Library/PrivateFrameworks -Xarch_armv6 -marm |
cf8bb1d4 | 2 | |
fdac1738 | 3 | substrate := -I../substrate -L../substrate -lsubstrate |
24ba43ee | 4 | |
2d22c5ec | 5 | all: WinterBoard.dylib WinterBoardSettings Optimize |
cf8bb1d4 JF |
6 | |
7 | clean: | |
2d22c5ec | 8 | rm -f WinterBoard.dylib WinterBoardSettings Optimize |
cf8bb1d4 | 9 | |
224d48e3 | 10 | WinterBoardSettings: 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 | 19 | WinterBoard.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 | 31 | Optimize: Optimize.cpp makefile |
edbc3022 | 32 | $(cycc) $(filter %.cpp,$^) |
265e19b2 JF |
33 | |
34 | package: all | |
f726075b | 35 | sudo ./package.sh |
62b2dbad JF |
36 | |
37 | .PHONY: all clean package |