Commit 465655bb authored by Jeremy Kerr's avatar Jeremy Kerr Committed by Rusty Russell

tools: ccan_depends requires a config.h

Commit a77cc282 causes tools/create-ccan-tree to fail, as it can't build
tools/ccan_depends (via `make tools/ccan_depends`) without a
configuration header present.

This change adds a dependency on config.h, so that the configurator
kicks-in prior to building ccan_depends.o.

Other tools don't need this dependency, as tools/ccan_depends is built
during the Makefile 'include' process.
Signed-off-by: default avatarJeremy Kerr <jeremy.kerr@canonical.com>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent a77cc282
......@@ -16,6 +16,8 @@ DEP_OBJS = ccan/grab_file/grab_file.o \
.PHONY: tools
tools: $(ALL_TOOLS)
tools/ccan_depends.o: config.h
tools/ccan_depends: tools/ccan_depends.o $(DEP_OBJS)
tools/doc_extract: tools/doc_extract.o tools/doc_extract-core.o $(DEP_OBJS)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment