1 cycc = cycc -i2.0 -o$@ -- $(filter %.mm,$^) -g0 -O2 -Werror -Iiphone-api -F/System/Library/PrivateFrameworks -Xarch_armv6 -marm
3 substrate := -I../substrate -L../substrate -lsubstrate
5 all: WinterBoard WinterBoard.dylib WinterBoardSettings Optimize
8 rm -f WinterBoard WinterBoard.dylib
10 WinterBoardSettings: Settings.mm makefile
13 -framework CoreFoundation \
14 -framework Foundation \
15 -framework CoreGraphics \
16 -framework Preferences \
19 WinterBoard.dylib: Library.mm WBMarkup.mm WBMarkup.h makefile ../substrate/substrate.h
21 -framework CoreFoundation \
22 -framework Foundation \
23 -framework CoreGraphics \
25 -framework GraphicsServices \
26 -framework Celestial \
32 WinterBoard: Application.mm makefile
35 -framework Foundation \
36 -framework CoreFoundation \
37 -framework CoreGraphics \
38 -framework Preferences \
41 Optimize: Optimize.cpp makefile
42 $(cycc) $(filter %.cpp,$^)
47 .PHONY: all clean package