summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-23 17:04:07 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:11 -0800
commit44c1771c52b99d592437e867c64c1d56820b50a5 (patch)
tree3928fe3b4d44e88ba576bc97cbe8f2d82d6c1a63 /makefile
parentc57867ead66c4519bee5e2c061ca7ab3ed84f8e6 (diff)
Compile Cydia version into Binary: don't lookup with APT.
Diffstat (limited to 'makefile')
-rw-r--r--makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/makefile b/makefile
index 9a1145d..f94af0d 100644
--- a/makefile
+++ b/makefile
@@ -68,7 +68,10 @@ clean:
%.o: %.c
$(cycc) -c -o $@ -x c $<
-MobileCydia: MobileCydia.mm UICaboodle/*.h UICaboodle/*.mm SDURLCache/SDURLCache.h SDURLCache/SDURLCache.m iPhonePrivate.h lookup3.o Cytore.hpp
+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
$(cycc) $(filter %.mm,$^) $(filter %.o,$^) $(foreach m,$(filter %.m,$^),-x objective-c++ $(m)) $(flags) $(link) $(uikit)
ldid -Slaunch.xml $@ || { rm -f $@ && false; }