]> git.saurik.com Git - cycript.git/blame - makefile
This is starting to look better.
[cycript.git] / makefile
CommitLineData
62ca2b82
JF
1package:
2
c1582939 3name := Cyrver
62ca2b82
JF
4flags := -framework CFNetwork -framework JavaScriptCore -framework WebCore -install_name /usr/lib/libcyrver.dylib
5base := $(shell cd ~; pwd)/menes/tweaks
6include $(base)/tweak.mk
7
8all: cyrver
9
10extra:
11 mkdir -p package/usr/{bin,lib}
12 mv package/Library/MobileSubstrate/DynamicLibraries/Cyrver.dylib package/usr/lib/libcyrver.dylib
13 ln -s /usr/lib/libcyrver.dylib package/Library/MobileSubstrate/DynamicLibraries/Cyrver.dylib
14 cp -a cyrver package/usr/bin
15
16cyrver: Application.mm Cyrver.dylib
17 $(target)g++ -g0 -O2 -Wall -Werror -o $@ $(filter %.mm,$^) -framework UIKit -framework Foundation -framework CoreFoundation -lobjc Cyrver.dylib -framework JavaScriptCore -F${PKG_ROOT}/System/Library/PrivateFrameworks
18 ldid -S cyrver