]>
Commit | Line | Data |
---|---|---|
1 | cycc = cycc -i2.0 -o$@ -- -Iiphone-api | |
2 | ||
3 | substrate := -I../substrate -L../substrate -lsubstrate | |
4 | ||
5 | all: WinterBoard WinterBoard.dylib WinterBoardSettings Optimize | |
6 | ||
7 | clean: | |
8 | rm -f WinterBoard WinterBoard.dylib | |
9 | ||
10 | WinterBoardSettings: Settings.mm makefile | |
11 | $(cycc) -dynamiclib -g0 -O2 $(filter %.mm,$^) -framework UIKit -framework CoreFoundation -framework Foundation -lobjc -framework CoreGraphics -framework Preferences -F$(PKG_ROOT)/System/Library/PrivateFrameworks | |
12 | ||
13 | WinterBoard.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 | |
15 | ||
16 | WinterBoard: Application.mm makefile | |
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) | |
18 | ||
19 | Optimize: Optimize.cpp makefile | |
20 | $(cycc) -g0 -O2 -Werror $(filter %.cpp,$^) | |
21 | ||
22 | package: all | |
23 | sudo ./package.sh | |
24 | ||
25 | .PHONY: all clean package |