]> git.ozlabs.org Git - ccan/blob - tools/Makefile
crypto/sha256: new module.
[ccan] / tools / Makefile
1 ALL_TOOLS = tools/configurator/configurator tools/ccan_depends tools/doc_extract tools/namespacize tools/ccanlint/ccanlint
2 LDLIBS = -lrt
3 DEP_OBJS = ccan/err/err.o \
4         ccan/foreach/foreach.o \
5         ccan/list/list.o \
6         ccan/noerr/noerr.o \
7         ccan/rbuf/rbuf.o \
8         ccan/read_write_all/read_write_all.o \
9         ccan/str/debug.o \
10         ccan/str/str.o \
11         ccan/take/take.o \
12         ccan/tal/tal.o \
13         ccan/tal/grab_file/grab_file.o \
14         ccan/tal/link/link.o \
15         ccan/tal/path/path.o \
16         ccan/tal/str/str.o \
17         ccan/time/time.o \
18         tools/read_config_header.o \
19         tools/ccan_dir.o \
20         tools/compile.o \
21         tools/depends.o \
22         tools/tools.o
23
24 .PHONY: tools
25 tools: $(ALL_TOOLS)
26
27 tools/ccan_depends.o: config.h
28
29 tools/ccan_depends: tools/ccan_depends.o $(DEP_OBJS)
30
31 tools/doc_extract: tools/doc_extract.o tools/doc_extract-core.o $(DEP_OBJS)
32
33 tools/namespacize: tools/namespacize.o $(DEP_OBJS)
34
35 tools/namespacize.o tools/depends.o: tools/tools.h
36
37 tools/configurator/configurator: tools/configurator/configurator.c
38
39 tools-clean: ccanlint-clean
40         $(RM) $(ALL_TOOLS)
41
42 include tools/ccanlint/Makefile