Are make dependencies worth the time trade off?
This is only a question for posix builds unless you use a compiler like mingw on windows since the Microsoft compiler doesn’t generate these files.
It takes time and file i/o to generate these files and consumes more disc space. For a small project that builds quickly it may well not be worth it.
I timed the compilation of a complete build of the Lua sandbox with and without make dependencies - it wasn’t perceptively slower.
Seems worth it for faster incremental compiles.