Makefile: make check-includes check all the non-generated files.

Note that check-whitespace and check-bolt already do this, so we
can eliminate redundant lines in common/Makefile and bitcoin/Makefile.

We also include the plugin headers in ALL_C_HEADERS so they get
checked.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2020-10-22 11:27:07 +10:30
parent 5e865ce42b
commit a8177e9013
22 changed files with 35 additions and 37 deletions

View File

@@ -58,7 +58,7 @@ PLUGINS := \
# Make sure these depend on everything.
ALL_C_SOURCES += $(PLUGIN_ALL_SRC)
ALL_C_HEADERS +=
ALL_C_HEADERS += $(PLUGIN_ALL_HEADER)
ALL_PROGRAMS += $(PLUGINS)
PLUGIN_COMMON_OBJS := \

View File

@@ -1,8 +1,8 @@
#include <common/utils.h>
#include <plugins/libplugin.h>
#include <plugins/spender/multiwithdraw.h>
#include <plugins/spender/fundchannel.h>
#include <plugins/spender/multifundchannel.h>
#include <plugins/spender/multiwithdraw.h>
/*~ The spender plugin contains various commands that handle
* spending from the onchain wallet. */