summaryrefslogtreecommitdiffstats
path: root/depend.txr
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-12-10 17:58:01 -0800
committerKaz Kylheku <kaz@kylheku.com>2014-12-10 17:58:01 -0800
commitc63b7549a408a059776151d6dfc6889dbb3979a5 (patch)
tree9c92ee4b307ada11ed3b95f5668a3bcad7986484 /depend.txr
parenta764442a57fae2490d93d2daefea5152d6213e78 (diff)
downloadtxr-c63b7549a408a059776151d6dfc6889dbb3979a5.tar.gz
txr-c63b7549a408a059776151d6dfc6889dbb3979a5.tar.bz2
txr-c63b7549a408a059776151d6dfc6889dbb3979a5.zip
* Makefile (ABBREV): Rewrite to take advantage of DEP_
variables to remove the dependencies from the output. (ABBREV2): No longer needed, removed. (dbg/%.o, opt/%.o, %.o): Just use ABBREV instead of ABBREV2; it does the right thing. Dependency of objects on config.make removed. * dep.mk: Regenerated. Now provides variable assignments in addition to rules, and each object is made dependent on config.make. * depend.txr: Adjusted to generate dep.mk in new format.
Diffstat (limited to 'depend.txr')
-rw-r--r--depend.txr3
1 files changed, 2 insertions, 1 deletions
diff --git a/depend.txr b/depend.txr
index 3c5fbc37..120ab1bd 100644
--- a/depend.txr
+++ b/depend.txr
@@ -19,6 +19,7 @@
@(end)
@(end)
@(output)
-@pfx/@file.o:@(rep) @header@(end)
+DEP_@pfx/@file.o :=@(rep) @header@(end) config.make
+@pfx/@file.o: $(DEP_@pfx/@file.o)
@(end)
@(end)