1 TEST_CFILES := $(wildcard tools/ccanlint/tests/*.c)
2 TEST_OBJS := $(TEST_CFILES:.c=.o)
6 ccan/autodata/autodata.o \
8 ccan/foreach/foreach.o \
10 ccan/htable/htable.o \
12 ccan/lbalance/lbalance.o \
19 ccan/ptr_valid/ptr_valid.o \
21 ccan/read_write_all/read_write_all.o \
22 ccan/str/str.o ccan/str/debug.o \
23 ccan/strmap/strmap.o \
26 ccan/tal/grab_file/grab_file.o \
27 ccan/tal/link/link.o \
28 ccan/tal/path/path.o \
31 tools/ccanlint/async.o \
32 tools/ccanlint/ccanlint.o \
33 tools/ccanlint/file_analysis.o \
34 tools/ccanlint/licenses.o \
38 tools/doc_extract-core.o \
40 tools/read_config_header.o \
43 OBJS := $(CORE_OBJS) $(TEST_OBJS)
45 $(CORE_OBJS): config.h
47 tools/ccanlint/ccanlint: $(OBJS)
50 $(RM) tools/ccanlint/ccanlint