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 <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2019-08-22 14:09:44 +09:30
parent 28185c397c
commit 11833192a1
1 changed files with 3 additions and 1 deletions

View File

@ -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