From 2ea3c6155f024da93e5db2bae84596341a33d641 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Sun, 22 Oct 2023 13:58:03 +1030 Subject: [PATCH] Makefile: fix update-mocks dependencies. It definitely needs generated source files. Signed-off-by: Rusty Russell --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d11c12729..7e3f4fb68 100644 --- a/Makefile +++ b/Makefile @@ -734,7 +734,7 @@ update-mocks: $(ALL_TEST_PROGRAMS:%=update-mocks/%.c) $(ALL_TEST_PROGRAMS:%=update-mocks/%.c): $(ALL_GEN_HEADERS) $(EXTERNAL_LIBS) libccan.a ccan/ccan/cdump/tools/cdump-enumstr config.vars -update-mocks/%: % +update-mocks/%: % $(ALL_GEN_HEADERS) $(ALL_GEN_SOURCES) @MAKE=$(MAKE) tools/update-mocks.sh "$*" $(SUPPRESS_OUTPUT) unittest/%: %