From c63b7549a408a059776151d6dfc6889dbb3979a5 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 10 Dec 2014 17:58:01 -0800 Subject: * 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. --- depend.txr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'depend.txr') 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) -- cgit v1.2.3