diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-08-11 06:45:56 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-08-11 06:45:56 -0700 |
commit | c2b7f82686fd66b4440195363edf02b0c6b11a63 (patch) | |
tree | 038e4ae9df7f29bfb1b671e637c41021adffda2b /stdlib/doloop.tl | |
parent | af07e726a7573304b957a3712984f6ecf6167872 (diff) | |
download | txr-c2b7f82686fd66b4440195363edf02b0c6b11a63.tar.gz txr-c2b7f82686fd66b4440195363edf02b0c6b11a63.tar.bz2 txr-c2b7f82686fd66b4440195363edf02b0c6b11a63.zip |
build: remove cruft, simplifying dep generation.
We get rid of the sed-based processing which produces .v
files from .d files. The only purpose of the variable
assignments in the .v files ended up being a filter
expression in the ABBREVN macro. I think the idea here
was to show all the direct prerequisites of the target,
suppressing the ones computed by generated dependency rules.
* Makefile (ABBREVN): Just use $^ instead filtering
out $^ using the $(DEP_$@) computed variable that holds
all the dependencies. I don't see an issue. This is
only used for linking and it correctly shows the .o
files.
(DEPGEN): Macro removed.
(COMPILE_C_WITH_DEPS): Remove call to DEPGEN, removing
an ugly sed step from the compilation of each file.
(NL, CM, DEP): Macros removed.
(OBJS, EXTRA_OBJS): Directly write rule which makes
all objects depend on config.make.
(opt/lex.yy.o, opt/txr.o, opt/match.o, opt/parser.o,
opt/y.tab.o, dbg/lex.yy.o, dbg/txr.o, dbg/match.o,
dbg/parser.o, dbg/y.tab.o): Explicitly write direct
rules for these so the parser generation is correctly
hooked into the dependency graph.
Diffstat (limited to 'stdlib/doloop.tl')
0 files changed, 0 insertions, 0 deletions