tools: reorder object files into alphabetical order.
[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         tools/compile.o \
11         tools/depends.o \
12         tools/tools.o
13
14 .PHONY: tools
15 tools: $(ALL_TOOLS)
16
17 tools/ccan_depends: tools/ccan_depends.o $(DEP_OBJS)
18
19 tools/doc_extract: tools/doc_extract.o tools/doc_extract-core.o $(DEP_OBJS)
20
21 tools/namespacize: tools/namespacize.o $(DEP_OBJS)
22
23 tools/namespacize.o tools/depends.o: tools/tools.h
24
25 tools/configurator/configurator: tools/configurator/configurator.c
26
27 tools-clean: ccanlint-clean
28         $(RM) $(ALL_TOOLS)
29
30 include tools/ccanlint/Makefile