From 11833192a12f606e937742a4a50e67d3b3edae0a Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 22 Aug 2019 14:09:44 +0930 Subject: [PATCH] tools: fix Makefile warning Makefile:424: warning: overriding recipe for target 'clean' tools/Makefile:12: warning: ignoring old recipe for target 'clean' Signed-off-by: Rusty Russell --- tools/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/Makefile b/tools/Makefile index 6766586c3..e267e7d45 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -8,7 +8,9 @@ tools/headerversions: FORCE tools/headerversions.o $(CCAN_OBJS) tools/check-bolt: tools/check-bolt.o $(CCAN_OBJS) common/utils.o tools/check-bolt.o: $(CCAN_HEADERS) -clean: +clean: tools-clean + +tools-clean: $(RM) tools/check-bolt tools/*.o $(RM) tools/headerversions