From: Jeremy Kerr Date: Tue, 22 May 2012 09:19:24 +0000 (+0800) Subject: tools: ccan_depends requires a config.h X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=465655bb11429b1c0e56d5bca09dd7dad46d0d65;hp=a77cc2824a26305f9f8bfe1807cb85ae54031687 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: Jeremy Kerr Signed-off-by: Rusty Russell --- diff --git a/tools/Makefile b/tools/Makefile index b8871be0..4bc7497a 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -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)