]> git.saurik.com Git - winterboard.git/blame_incremental - makefile
Hide the non-functional Hide WinterBoard option.
[winterboard.git] / makefile
... / ...
CommitLineData
1cycc = cycc -i2.0 -o$@ -- $(filter %.mm,$^) -g0 -O2 -Werror -Iiphone-api -F/System/Library/PrivateFrameworks -Xarch_armv6 -marm
2
3substrate := -I../substrate -L../substrate -lsubstrate
4
5all: WinterBoard WinterBoard.dylib WinterBoardSettings Optimize
6
7clean:
8 rm -f WinterBoard WinterBoard.dylib
9
10WinterBoardSettings: Settings.mm makefile
11 $(cycc) -dynamiclib \
12 -framework UIKit \
13 -framework CoreFoundation \
14 -framework Foundation \
15 -framework CoreGraphics \
16 -framework Preferences \
17 -lobjc
18
19WinterBoard.dylib: Library.mm WBMarkup.mm WBMarkup.h makefile ../substrate/substrate.h
20 $(cycc) -std=c++11 -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)
31
32WinterBoard: Application.mm makefile
33 $(cycc) \
34 -framework UIKit \
35 -framework Foundation \
36 -framework CoreFoundation \
37 -framework CoreGraphics \
38 -framework Preferences \
39 -lobjc
40
41Optimize: Optimize.cpp makefile
42 $(cycc) $(filter %.cpp,$^)
43
44package: all
45 sudo ./package.sh
46
47.PHONY: all clean package