Use -O not -O3: reduces ccan/tdb test time from 24 to 18 seconds.
[ccan] / tools / Makefile
1 ALL_TOOLS = tools/ccan_depends tools/run_tests tools/doc_extract tools/namespacize tools/ccanlint/ccanlint
2
3 .PHONY: tools
4 tools: $(ALL_TOOLS)
5
6 tools/ccan_depends: tools/ccan_depends.o tools/depends.o tools/tools.o ccan/str_talloc/str_talloc.o ccan/grab_file/grab_file.o ccan/talloc/talloc.o ccan/noerr/noerr.o
7
8 tools/run_tests: tools/run_tests.o tools/depends.o ccan/str_talloc/str_talloc.o ccan/grab_file/grab_file.o ccan/tap/tap.o ccan/noerr/noerr.o ccan/talloc/talloc.o
9
10 tools/doc_extract: tools/doc_extract.o tools/doc_extract-core.o ccan/str_talloc/str_talloc.o ccan/grab_file/grab_file.o ccan/noerr/noerr.o ccan/talloc/talloc.o
11
12 tools/namespacize: tools/namespacize.o tools/depends.o tools/tools.o ccan/str_talloc/str_talloc.o ccan/grab_file/grab_file.o ccan/noerr/noerr.o ccan/talloc/talloc.o
13
14 tools/run_tests.o tools/namespacize.o tools/depends.o: tools/tools.h
15
16 tools-clean: ccanlint-clean
17         rm -f $(ALL_TOOLS)
18
19 include tools/ccanlint/Makefile