summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/makefile b/makefile
index 0f16936..bb00062 100644
--- a/makefile
+++ b/makefile
@@ -1,4 +1,4 @@
-uikittools = uiduid uicache uiopen gssc sbdidlaunch sbreload cfversion iomfsetgamma
+uikittools = uiduid uicache uiopen gssc sbdidlaunch sbreload cfversion iomfsetgamma ldrestart
all: $(uikittools)
@@ -15,6 +15,7 @@ flags += -framework Foundation
flags += -miphoneos-version-min=2.0
flags += -arch armv6
+ldrestart := -std=c++11
gssc := -lobjc
iomfsetgamma := -I. $(private) -framework IOKit -framework IOMobileFramebuffer
sbdidlaunch := $(private) -framework SpringBoardServices
@@ -30,6 +31,10 @@ extrainst_: csstore.cpp
cycc -- -o $@ $^ $(flags) $($@)
ldid -S$(wildcard $@.xml) $@
+%: %.cpp
+ cycc -- -o $@ $^ $(flags) $($@)
+ ldid -S$(wildcard $@.xml) $@
+
%: %.c
cycc -- -o $@ -x c $^ $(flags) $($@)
ldid -S$(wildcard $@.xml) $@