summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-10-26 14:23:08 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2011-10-26 14:27:40 +0000
commit7141b4254fb4c6c61b779a3becd1e285bca5495d (patch)
treebbc48a6d337b4bfb6b7b3e34b1b60840cc7239f9 /makefile
parenta1c9d67a61aa4fe365025f138a076b8ffa322c0c (diff)
Remove gratuitous linking from gssc (for Substrate).
Diffstat (limited to 'makefile')
-rw-r--r--makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/makefile b/makefile
index 1695a75..6b39041 100644
--- 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