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 \
9 ccan/grab_file/grab_file.o \
11 ccan/htable/htable.o \
12 ccan/lbalance/lbalance.o \
18 ccan/ptr_valid/ptr_valid.o \
19 ccan/read_write_all/read_write_all.o \
20 ccan/str/str.o ccan/str/debug.o \
21 ccan/str_talloc/str_talloc.o \
22 ccan/strmap/strmap.o \
23 ccan/talloc/talloc.o \
24 ccan/talloc_link/talloc_link.o \
26 tools/ccanlint/async.o \
27 tools/ccanlint/ccanlint.o \
28 tools/ccanlint/file_analysis.o \
29 tools/ccanlint/licenses.o \
32 tools/doc_extract-core.o \
35 OBJS := $(CORE_OBJS) $(TEST_OBJS)
37 $(CORE_OBJS): config.h
39 tools/ccanlint/ccanlint: $(OBJS)
42 $(RM) tools/ccanlint/ccanlint