/
Are make dependencies worth the time trade off?
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.
, multiple selections available,
Related content
Make Dependency Files for C/C++ Headers
Make Dependency Files for C/C++ Headers
More like this
Dependency Tree
Dependency Tree
More like this
How do I transform a list?
How do I transform a list?
Read with this
Is ccache worth it?
Is ccache worth it?
More like this
makefile - sandbox example
makefile - sandbox example
Read with this
How to avoid a build system death march
How to avoid a build system death march
More like this