A simple and effective way to do it with gcc is to generate dependency files (*.dep) during compilation with -MD/-MF and include these into the makefile with

-include *.dep

On 25.01.2012 03:26, Trass3r wrote:
I assume you mean the windows one? dmc is fast enough that recompiling
takes very little time, especially compared to running the test suites.

Nope, Linux.

iirc Walter's complaint is that the makefiles quickly get out of sync
anyway, so it's a better habit to use make clean constantly regardless...

Automating it on one machine should be enough.

Reply via email to