summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-09 02:51:01 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-09 03:30:21 -0800
commite61d7bfc30f71596ebf02d02695d80c4688c803d (patch)
tree50a11c6930c67fe318ad1cfd06d8aa127feaa1f6 /makefile
parentc6cf66c7b507793449127afb9631b62208b534b1 (diff)
Version number change should rebuild user agent code.
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefile b/makefile
index 574c6fa..80a8fd2 100644
--- a/makefile
+++ b/makefile
@@ -63,8 +63,6 @@ version := $(shell ./version.sh)
gxx := /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-$(gcc)
cycc = $(gxx) -mthumb -arch armv6 -o $@ -mcpu=arm1176jzf-s -miphoneos-version-min=2.0 -isysroot $(sdk) -idirafter /usr/include -F{sysroot,}/Library/Frameworks
-flags += -DCYDIA_VERSION='"$(version)"'
-
dirs := Menes CyteKit Cydia SDURLCache
code := $(foreach dir,$(dirs),$(wildcard $(foreach ext,h hpp c cpp m mm,$(dir)/*.$(ext))))
@@ -108,6 +106,8 @@ Objects/%.o: %.mm $(header)
@echo "[cycc] $<"
@$(cycc) -c -o $@ $< $(flags) $(xflags)
+Objects/MobileCydia.o: version.h
+
Images/%.png: %.png
@mkdir -p $(dir $@)
@echo "[pngc] $<"