summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-25 03:51:42 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:18 -0800
commit8a2c6d14978ee52cfb6b90973a8b05b0338a098d (patch)
tree31023961a86951763784e85c9475a9cc66894d0a /makefile
parent0ed60f3289608de917c304d027eb99c4bdc84ae2 (diff)
Add some execution failsafes for sysroot.sh.
Diffstat (limited to 'makefile')
-rw-r--r--makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/makefile b/makefile
index 2a227cc..57b0486 100644
--- a/makefile
+++ b/makefile
@@ -65,7 +65,12 @@ clean:
Version.h:
./Version.h.sh
-MobileCydia: Version.h MobileCydia.mm UICaboodle/*.h UICaboodle/*.mm SDURLCache/SDURLCache.h SDURLCache/SDURLCache.m iPhonePrivate.h lookup3.o Cytore.hpp
+sysroot:
+ @echo "Please read compiling.txt: you do not have a ./sysroot/ folder with the on-device requirements." 1>&2
+ @echo 1>&2
+ @exit 1
+
+MobileCydia: sysroot Version.h MobileCydia.mm UICaboodle/*.h UICaboodle/*.mm SDURLCache/SDURLCache.h SDURLCache/SDURLCache.m iPhonePrivate.h lookup3.o Cytore.hpp
$(cycc) $(filter %.mm,$^) $(filter %.o,$^) $(foreach m,$(filter %.m,$^),-x objective-c++ $(m)) $(flags) $(link) $(uikit)
ldid -Slaunch.xml $@ || { rm -f $@ && false; }