tools: use tal instead of talloc.
[ccan] / tools / ccanlint / Makefile
1 TEST_CFILES := $(wildcard tools/ccanlint/tests/*.c)
2 TEST_OBJS := $(TEST_CFILES:.c=.o)
3
4 CORE_OBJS := \
5         ccan/asort/asort.o \
6         ccan/autodata/autodata.o \
7         ccan/dgraph/dgraph.o \
8         ccan/foreach/foreach.o \
9         ccan/hash/hash.o \
10         ccan/htable/htable.o \
11         ccan/ilog/ilog.o \
12         ccan/lbalance/lbalance.o \
13         ccan/list/list.o \
14         ccan/noerr/noerr.o \
15         ccan/opt/helpers.o \
16         ccan/opt/opt.o \
17         ccan/opt/parse.o \
18         ccan/opt/usage.o \
19         ccan/ptr_valid/ptr_valid.o \
20         ccan/rbuf/rbuf.o \
21         ccan/read_write_all/read_write_all.o \
22         ccan/str/str.o ccan/str/debug.o \
23         ccan/strmap/strmap.o \
24         ccan/take/take.o \
25         ccan/tal/tal.o \
26         ccan/tal/link/link.o \
27         ccan/tal/str/str.o \
28         ccan/time/time.o \
29         tools/ccanlint/async.o \
30         tools/ccanlint/ccanlint.o \
31         tools/ccanlint/file_analysis.o \
32         tools/ccanlint/licenses.o \
33         tools/ccan_dir.o \
34         tools/compile.o \
35         tools/depends.o \
36         tools/doc_extract-core.o \
37         tools/manifest.o \
38         tools/read_config_header.o \
39         tools/tools.o
40
41 OBJS := $(CORE_OBJS) $(TEST_OBJS)
42
43 $(CORE_OBJS): config.h
44
45 tools/ccanlint/ccanlint: $(OBJS)
46
47 ccanlint-clean:
48         $(RM) tools/ccanlint/ccanlint