mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 02:27:51 +01:00
11833192a1
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>
18 lines
578 B
Makefile
18 lines
578 B
Makefile
#! /usr/bin/make
|
|
|
|
# We force make to relink this every time, to detect version changes.
|
|
# Do it atomically, otherwise parallel builds can get upset!
|
|
tools/headerversions: FORCE tools/headerversions.o $(CCAN_OBJS)
|
|
@trap "rm -f $@.tmp.$$$$" EXIT; $(LINK.o) tools/headerversions.o $(CCAN_OBJS) $(LOADLIBES) $(LDLIBS) -o $@.tmp.$$$$ && mv $@.tmp.$$$$ $@
|
|
|
|
tools/check-bolt: tools/check-bolt.o $(CCAN_OBJS) common/utils.o
|
|
tools/check-bolt.o: $(CCAN_HEADERS)
|
|
|
|
clean: tools-clean
|
|
|
|
tools-clean:
|
|
$(RM) tools/check-bolt tools/*.o
|
|
$(RM) tools/headerversions
|
|
|
|
include tools/test/Makefile
|