d2c18aa15356dbb765588e15268e9350856f8226
[ccan] / tools / Makefile
1 ALL_TOOLS = tools/configurator/configurator tools/ccan_depends tools/doc_extract tools/namespacize tools/ccanlint/ccanlint
2
3 DEP_OBJS = tools/depends.o tools/compile.o tools/tools.o ccan/str_talloc/str_talloc.o ccan/grab_file/grab_file.o ccan/talloc/talloc.o ccan/noerr/noerr.o ccan/read_write_all/read_write_all.o
4
5 .PHONY: tools
6 tools: $(ALL_TOOLS)
7
8 tools/ccan_depends: tools/ccan_depends.o $(DEP_OBJS)
9
10 tools/doc_extract: tools/doc_extract.o tools/doc_extract-core.o $(DEP_OBJS)
11
12 tools/namespacize: tools/namespacize.o $(DEP_OBJS)
13
14 tools/namespacize.o tools/depends.o: tools/tools.h
15
16 tools/configurator/configurator: tools/configurator/configurator.c
17
18 tools-clean: ccanlint-clean
19         $(RM) $(ALL_TOOLS)
20
21 include tools/ccanlint/Makefile