forked from ElementsProject/lightning
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
d922c89
commit 7ef8645
Showing
2 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters