Remove duplicate const qualifier
[ccan] / tools / Makefile
1 ALL_TOOLS = tools/configurator/configurator tools/ccan_depends tools/doc_extract tools/namespacize tools/ccanlint/ccanlint tools/modfiles
2 LDLIBS = -lrt
3 DEP_OBJS = ccan/err/err.o \
4         ccan/foreach/foreach.o \
5         ccan/hash/hash.o \
6         ccan/htable/htable.o \
7         ccan/list/list.o \
8         ccan/noerr/noerr.o \
9         ccan/opt/opt.o \
10         ccan/opt/helpers.o \
11         ccan/opt/parse.o \
12         ccan/opt/usage.o \
13         ccan/rbuf/rbuf.o \
14         ccan/read_write_all/read_write_all.o \
15         ccan/str/debug.o \
16         ccan/str/str.o \
17         ccan/take/take.o \
18         ccan/tal/tal.o \
19         ccan/tal/grab_file/grab_file.o \
20         ccan/tal/link/link.o \
21         ccan/tal/path/path.o \
22         ccan/tal/str/str.o \
23         ccan/time/time.o \
24         tools/read_config_header.o \
25         tools/ccan_dir.o \
26         tools/compile.o \
27         tools/depends.o \
28         tools/tools.o
29
30 .PHONY: tools
31 tools: $(ALL_TOOLS)
32
33 tools/ccan_depends.o: config.h
34
35 tools/ccan_depends: tools/ccan_depends.o $(DEP_OBJS)
36
37 tools/doc_extract: tools/doc_extract.o tools/doc_extract-core.o $(DEP_OBJS)
38
39 tools/namespacize: tools/namespacize.o $(DEP_OBJS)
40
41 tools/namespacize.o tools/depends.o: tools/tools.h
42
43 tools/configurator/configurator: tools/configurator/configurator.c
44
45 tools/modfiles: tools/modfiles.o tools/manifest.o $(DEP_OBJS)
46
47 tools-clean: ccanlint-clean
48         rm -f $(ALL_TOOLS)
49
50 include tools/ccanlint/Makefile