]> git.ozlabs.org Git - ccan/blob - tools/Makefile
tools/configurator: fix test for /proc/self/maps.
[ccan] / tools / Makefile
1 ALL_TOOLS = tools/configurator/configurator tools/ccan_depends tools/doc_extract tools/namespacize tools/ccanlint/ccanlint
2
3 DEP_OBJS = ccan/grab_file/grab_file.o \
4         ccan/noerr/noerr.o \
5         ccan/read_write_all/read_write_all.o \
6         ccan/str/debug.o \
7         ccan/str/str.o \
8         ccan/str_talloc/str_talloc.o \
9         ccan/talloc/talloc.o \
10         ccan/time/time.o \
11         tools/read_config_header.o \
12         tools/compile.o \
13         tools/depends.o \
14         tools/tools.o
15
16 .PHONY: tools
17 tools: $(ALL_TOOLS)
18
19 tools/ccan_depends: tools/ccan_depends.o $(DEP_OBJS)
20
21 tools/doc_extract: tools/doc_extract.o tools/doc_extract-core.o $(DEP_OBJS)
22
23 tools/namespacize: tools/namespacize.o $(DEP_OBJS)
24
25 tools/namespacize.o tools/depends.o: tools/tools.h
26
27 tools/configurator/configurator: tools/configurator/configurator.c
28
29 tools-clean: ccanlint-clean
30         $(RM) $(ALL_TOOLS)
31
32 include tools/ccanlint/Makefile