]> git.saurik.com Git - cydia.git/blobdiff - makefile
Add some execution failsafes for sysroot.sh.
[cydia.git] / makefile
index 2a227cc61100935be6a01597a7a8c8f2d6ac6c80..57b0486998569d0fecc6f5c3fbb9d71badfa9c78 100644 (file)
--- 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; }