]> git.saurik.com Git - cydia.git/blobdiff - makefile
Factored out common code to common subproject.
[cydia.git] / makefile
index 4bdbca0dd63243922b91b18fc2073827e53e2040..d196f27bbaaac13c26e6896c02bd25e999aef4f6 100644 (file)
--- a/makefile
+++ b/makefile
@@ -14,7 +14,7 @@ test: all
 exec: exec.mm makefile
        $(target)g++ -Wall -Werror -o $@ $< -framework Foundation -framework CoreFoundation -lobjc
 
-Cydia: Cydia.mm *.h makefile
-       $(target)g++ -fobjc-call-cxx-cdtors -g3 -O2 -Wall -Werror -o $@ $< -framework UIKit -framework IOKit -framework CoreFoundation -framework Foundation -framework CoreGraphics -framework GraphicsServices -lobjc -lapt-pkg -lpcre -fobjc-exceptions -I/apl/i20 -F$${PKG_ROOT}/System/Library/PrivateFrameworks
+Cydia: Cydia.mm ../uicaboodle.m/*.mm *.h makefile
+       $(target)g++ -I../uicaboodle.m -fobjc-call-cxx-cdtors -g3 -O2 -Wall -Werror -o $@ $(filter %.mm,$^) -framework UIKit -framework IOKit -framework CoreFoundation -framework Foundation -framework CoreGraphics -framework GraphicsServices -framework LayerKit -lobjc -lapt-pkg -lpcre -fobjc-exceptions -I/apl/i20 -F$${PKG_ROOT}/System/Library/PrivateFrameworks
 
 .PHONY: all clean test