summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-12-10 19:16:03 -0800
committerKaz Kylheku <kaz@kylheku.com>2014-12-10 19:16:03 -0800
commitb078354aa1a2e24c827307764521e9666670eb11 (patch)
tree93ded2451332c0e25bf724a43b33f11b4bfcc376 /ChangeLog
parentc63b7549a408a059776151d6dfc6889dbb3979a5 (diff)
downloadtxr-b078354aa1a2e24c827307764521e9666670eb11.tar.gz
txr-b078354aa1a2e24c827307764521e9666670eb11.tar.bz2
txr-b078354aa1a2e24c827307764521e9666670eb11.zip
Throwing away old dependency system.
* Makefile (DEPGEN): New macro variable. (OPT_OBJS, DBG_OBJS): Define with := assignment. (OBJS): New variable. (dbg/%.o, opt/*.o): Use -MMD and -MT options of gcc to generate dependencies. Also use DEPGEN macro to rewrite each dependency makefile's rule into a DEP_ variable assignment. (DEP_INSTANTIATE): New macro variable. (include dep.mk): Removed, replaced by eval hack that includes all the .d files and instantiates the rule from the DEP_ variable in each one. (opt/lex.yy.o, dbg/lex.yy.o): We need to hard code the dependency of these on y.tab.h, to force that header to generate. (DEP_opt/lex.yy.o, DEP_dbg/lex.yy.o): New variables, related to above. (depend): Target removed. * dep.mk: File removed. * depend.txr: File removed.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog30
1 files changed, 24 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 69f825bd..00fd4316 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,17 +1,35 @@
2014-12-10 Kaz Kylheku <kaz@kylheku.com>
+ Throwing away old dependency system.
+
+ * Makefile (DEPGEN): New macro variable.
+ (OPT_OBJS, DBG_OBJS): Define with := assignment.
+ (OBJS): New variable.
+ (dbg/%.o, opt/*.o): Use -MMD and -MT options of gcc to generate
+ dependencies. Also use DEPGEN macro to rewrite each dependency
+ makefile's rule into a DEP_ variable assignment.
+ (DEP_INSTANTIATE): New macro variable.
+ (include dep.mk): Removed, replaced by eval hack that
+ includes all the .d files and instantiates the rule from
+ the DEP_ variable in each one.
+ (opt/lex.yy.o, dbg/lex.yy.o): We need to hard code the dependency
+ of these on y.tab.h, to force that header to generate.
+ (DEP_opt/lex.yy.o, DEP_dbg/lex.yy.o): New variables, related
+ to above.
+ (depend): Target removed.
+
+ * dep.mk: File removed.
+
+ * depend.txr: File removed.
+
+2014-12-10 Kaz Kylheku <kaz@kylheku.com>
+
* 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.
-
2014-12-09 Kaz Kylheku <kaz@kylheku.com>
* Makefile (install-tests): Do not use option -c of