X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/94511d30a0d4f173055292e80d156d8e58da2716..0ed60f3289608de917c304d027eb99c4bdc84ae2:/makefile diff --git a/makefile b/makefile index 9a1145dc..2a227cc6 100644 --- a/makefile +++ b/makefile @@ -1,13 +1,7 @@ sdks := /Developer/Platforms/iPhoneOS.platform/Developer/SDKs -ios := 3.2 -#ios := 2.0 - -ifeq ($(patsubst 2%,2,$(ios)),2) -gcc := 4.0 -else +ios := 4.0 gcc := 4.2 -endif flags := link := @@ -68,7 +62,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; }