3 ms·
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
by brandmeyer 5y ago
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.
- glandium 5y agoGood old "make depend". If only it didn't add a significant overhead...
- brandmeyer 5y agoYou 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-Makefiles.html#Remaking-Makefiles https://www.gnu.org/software/make/manual/html_node/Remaking-...