summaryrefslogtreecommitdiffstats
path: root/txr.h
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 /txr.h
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 'txr.h')
0 files changed, 0 insertions, 0 deletions