Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makefile: don't make every file depend on version headers.
common/version.o depends on common/version_gen.h explicitly already, and header_versions_gen.h is only used by lightningd, so we can make that dependency explicit. This means when version changes (i.e. different git commit) we only relink, not recompile. Before: ``` real 0m6.578s user 0m14.705s sys 0m13.621s ``` After: ``` real 0m2.098s user 0m6.763s sys 0m4.844s ``` Signed-off-by: Rusty Russell <[email protected]>
- Loading branch information