]>
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 | |
603984d9 | 5 | all: WinterBoard WinterBoard.dylib WinterBoardSettings Optimize |
cf8bb1d4 JF |
6 | |
7 | clean: | |
603984d9 | 8 | rm -f WinterBoard WinterBoard.dylib |
cf8bb1d4 | 9 | |
224d48e3 | 10 | WinterBoardSettings: Settings.mm makefile |
edbc3022 JF |
11 | $(cycc) -dynamiclib \ |
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 |
edbc3022 JF |
20 | $(cycc) -dynamiclib \ |
21 | -framework CoreFoundation \ | |
22 | -framework Foundation \ | |
23 | -framework CoreGraphics \ | |
24 | -framework ImageIO \ | |
25 | -framework GraphicsServices \ | |
26 | -framework Celestial \ | |
27 | -framework UIKit \ | |
28 | -framework WebCore \ | |
29 | -framework WebKit \ | |
30 | -lobjc $(substrate) | |
cf8bb1d4 | 31 | |
62b2dbad | 32 | WinterBoard: Application.mm makefile |
edbc3022 JF |
33 | $(cycc) \ |
34 | -framework UIKit \ | |
35 | -framework Foundation \ | |
36 | -framework CoreFoundation \ | |
37 | -framework CoreGraphics \ | |
38 | -framework Preferences \ | |
39 | -lobjc | |
62b2dbad | 40 | |
265e19b2 | 41 | Optimize: Optimize.cpp makefile |
edbc3022 | 42 | $(cycc) $(filter %.cpp,$^) |
265e19b2 JF |
43 | |
44 | package: all | |
f726075b | 45 | sudo ./package.sh |
62b2dbad JF |
46 | |
47 | .PHONY: all clean package |