Ported Veency to 3.x.
[veency.git] / makefile
1 name := Veency
2 id := vncs
3 flags := -lvncserver -framework IOMobileFramebuffer -framework CoreSurface -framework IOKit -framework GraphicsServices -I/apl/inc/iPhoneOS-2.0 -framework QuartzCore
4 base := ../tweaks
5 include ../tweaks/tweak.mk
6
7 all: VeencyHook.dylib
8
9 VeencyHook.dylib: Hook.mm makefile
10         $(target)g++ -dynamiclib -g0 -O2 -Wall -Werror -o $@ $(filter %.mm,$^) -init _TweakInitialize -lobjc
11         ldid -S $@
12
13 extra:
14         cp -a VeencyHook.dylib VeencyHook.plist package/Library/MobileSubstrate/DynamicLibraries
15         mkdir -p package/System/Library/CoreServices/SpringBoard.app
16         cp -a Default_Veency.png FSO_Veency.png package/System/Library/CoreServices/SpringBoard.app