summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2019-05-19 14:38:13 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2019-05-19 14:38:13 -0700
commit34424c32c60c9f4ccbcce02e948da87045c1cc8c (patch)
tree54088c331c39f35d59f9418a3d534b2bf9b94e6e
parentc935a078d356d00f98bb418b44feaaaccf780210 (diff)
Use awkward make behavior to help build stability.
-rw-r--r--makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/makefile b/makefile
index a0d3732..4d64d5e 100644
--- a/makefile
+++ b/makefile
@@ -177,10 +177,10 @@ clean:
rm -f MobileCydia postinst
rm -rf Objects/ Images/
-Objects/apt64/apt-pkg/tagfile.o: apt64/apt-pkg/tagfile-keys.cc
-Objects/apt64/apt-pkg/deb/deblistparser.o: apt64/apt-pkg/tagfile-keys.cc
+Objects/apt64/apt-pkg/tagfile.o: Objects/apt64/apt-pkg/tagfile-keys.h
+Objects/apt64/apt-pkg/deb/deblistparser.o: Objects/apt64/apt-pkg/tagfile-keys.h
-apt64/apt-pkg/tagfile-keys.cc:
+Objects/apt64/apt-pkg/tagfile-keys%h apt64/apt-pkg/tagfile-keys%cc:
mkdir -p apt64
mkdir -p Objects/apt64/apt-pkg
cd apt64 && ../apt64/triehash/triehash.pl \
@@ -192,7 +192,7 @@ apt64/apt-pkg/tagfile-keys.cc:
--function-name pkgTagHash \
--include "<apt-pkg/tagfile.h>" \
../apt64/apt-pkg/tagfile-keys.list
- sed -i -e 's@typedef char static_assert64@//\\0@' $@
+ sed -i -e 's@typedef char static_assert64@//\\0@' apt64/apt-pkg/tagfile-keys.cc
Objects/%.o: %.cc $(header)
@mkdir -p $(dir $@)