Re:Redo: A recursive, general-purpose build system
by brandmeyer on Wednesday December 29, 2021 @10:58AM
(#29725956)
The original sin here is generating the dependencies from the source files in the same step that was used to generate the object files. The only way to ensure that Make observes structural changes in the dependency DAG is if the graph is rebuilt.
[ Parent
| on HN ]
Re:Redo: A recursive, general-purpose build system
by glandium on Wednesday December 29, 2021 @04:02PM
(#29729988)
Good old "make depend". If only it didn't add a significant overhead...
Re:Redo: A recursive, general-purpose build system
by brandmeyer on Thursday December 30, 2021 @01:12PM
(#29739422)
You can get make to only re-generate its rules incrementally based on what was changed.
https://www.gnu.org/software/make/manual/html_node/Remaking-...