]> git.saurik.com Git - uikittools.git/blobdiff - makefile
Remove gratuitous linking from gssc (for Substrate).
[uikittools.git] / makefile
index 1695a7582ff42203266fdf6b72db8bbc48406f52..6b390416f84185a2b80863ef7740d5d519ff6101 100644 (file)
--- a/makefile
+++ b/makefile
@@ -7,8 +7,16 @@ clean:
 
 .PHONY: all clean package
 
+cfversion := -framework CoreFoundation
+gssc := -framework CoreFoundation
+sbdidlaunch := -framework CoreFoundation -framework SpringBoardServices
+uicache := -framework Foundation
+uiduid := -framework Foundation -framework UIKit
+uiopen := -framework Foundation -framework UIKit
+uishoot := -framework CoreFoundation -framework Foundation -framework UIKit
+
 %: %.mm
-       $${PKG_TARG}-g++ -Wall -Werror -o $@ $< -framework CoreFoundation -framework Foundation -framework UIKit -framework GraphicsServices -F"$${PKG_ROOT}"/System/Library/PrivateFrameworks -lobjc -framework SpringBoardServices
+       $${PKG_TARG}-g++ -Wall -Werror -o $@ $< $($@) -F"$${PKG_ROOT}"/System/Library/PrivateFrameworks -lobjc
        ldid -S $@
 
 %: %.c