diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2016-07-22 15:19:04 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2016-07-22 15:19:04 -0700 |
commit | 68d2b30b8a240347caa0937c75cfbf0079b7a3a5 (patch) | |
tree | 122c5d5d4879af525e713f0af38c607009fcd8c9 /makefile | |
parent | 29800e26a158518a01eda03e9c35f0aba0f764d6 (diff) |
Add ldrestart for safe restart from app jailbreak.v1.1.12
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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) $@ |