X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2FMakefile;h=1ab69c928e625c6ddabb0d31d0160b83a2a2171a;hp=63d474fbcc00255343b12e198014f0d3549a8cf7;hb=e40f5c50a7a930fc98974936b7366b498ebf984c;hpb=3b200f895cb7884c72d9e2409f047284027abc68 diff --git a/tools/Makefile b/tools/Makefile index 63d474fb..1ab69c92 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -1,10 +1,30 @@ ALL_TOOLS = tools/configurator/configurator tools/ccan_depends tools/doc_extract tools/namespacize tools/ccanlint/ccanlint - -DEP_OBJS = tools/depends.o tools/compile.o tools/tools.o ccan/str_talloc/str_talloc.o ccan/str/str.o ccan/str/debug.o ccan/grab_file/grab_file.o ccan/talloc/talloc.o ccan/noerr/noerr.o ccan/read_write_all/read_write_all.o +LDLIBS = -lrt +DEP_OBJS = ccan/err/err.o \ + ccan/foreach/foreach.o \ + ccan/list/list.o \ + ccan/noerr/noerr.o \ + ccan/rbuf/rbuf.o \ + ccan/read_write_all/read_write_all.o \ + ccan/str/debug.o \ + ccan/str/str.o \ + ccan/take/take.o \ + ccan/tal/tal.o \ + ccan/tal/link/link.o \ + ccan/tal/path/path.o \ + ccan/tal/str/str.o \ + ccan/time/time.o \ + tools/read_config_header.o \ + tools/ccan_dir.o \ + tools/compile.o \ + tools/depends.o \ + tools/tools.o .PHONY: tools tools: $(ALL_TOOLS) +tools/ccan_depends.o: config.h + tools/ccan_depends: tools/ccan_depends.o $(DEP_OBJS) tools/doc_extract: tools/doc_extract.o tools/doc_extract-core.o $(DEP_OBJS)