]> git.saurik.com Git - winterboard.git/blame - makefile
Fix path of Optimize binary in cycc-built package.
[winterboard.git] / makefile
CommitLineData
535a2bab 1cycc = cycc -i2.0 -o$@ -- $(filter %.mm,$^) -g0 -O2 -Werror -Iiphone-api -F/System/Library/PrivateFrameworks -Xarch_armv6 -marm
cf8bb1d4 2
fdac1738 3substrate := -I../substrate -L../substrate -lsubstrate
24ba43ee 4
603984d9 5all: WinterBoard WinterBoard.dylib WinterBoardSettings Optimize
cf8bb1d4
JF
6
7clean:
603984d9 8 rm -f WinterBoard WinterBoard.dylib
cf8bb1d4 9
224d48e3 10WinterBoardSettings: 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 19WinterBoard.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
62b2dbad 31WinterBoard: Application.mm makefile
edbc3022
JF
32 $(cycc) \
33 -framework UIKit \
34 -framework Foundation \
35 -framework CoreFoundation \
36 -framework CoreGraphics \
37 -framework Preferences \
38 -lobjc
62b2dbad 39
265e19b2 40Optimize: Optimize.cpp makefile
edbc3022 41 $(cycc) $(filter %.cpp,$^)
265e19b2
JF
42
43package: all
f726075b 44 sudo ./package.sh
62b2dbad
JF
45
46.PHONY: all clean package