]> git.saurik.com Git - veency.git/blobdiff - makefile
Upgrade Veency to support the current MSHookSymbol.
[veency.git] / makefile
index 84c3b3ae91846d37738d1c852045acf173cc26c6..5568d0d945fa836e4a22d99cb510522502e5259a 100644 (file)
--- a/makefile
+++ b/makefile
@@ -1,16 +1,9 @@
 name := Veency
 id := vncs
-flags := -lvncserver -framework IOMobileFramebuffer -framework CoreSurface -framework IOKit -framework GraphicsServices -I/apl/inc/iPhoneOS-2.0 -framework QuartzCore
+flags := -lvncserver -framework IOMobileFramebuffer -framework CoreSurface -framework IOKit -framework GraphicsServices -I/apl/inc/iPhoneOS-2.0 -framework QuartzCore -weak_reference_mismatches weak -framework UIKit -framework GraphicsServices
 base := ../tweaks
 include ../tweaks/tweak.mk
 
-all: VeencyHook.dylib
-
-VeencyHook.dylib: Hook.mm makefile
-       $(target)g++ -dynamiclib -g0 -O2 -Wall -Werror -o $@ $(filter %.mm,$^) -init _TweakInitialize -lobjc
-       ldid -S $@
-
 extra:
-       cp -a VeencyHook.dylib VeencyHook.plist package/Library/MobileSubstrate/DynamicLibraries
        mkdir -p package/System/Library/CoreServices/SpringBoard.app
        cp -a Default_Veency.png FSO_Veency.png package/System/Library/CoreServices/SpringBoard.app