X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2FMakefile;h=1ab69c928e625c6ddabb0d31d0160b83a2a2171a;hp=a981e4049def9bfcd06027aaf7f8afee46feb17c;hb=d218dcd458cbec7a1b958af39b70cd068da7b040;hpb=fa64b4599366818ea546c7db026f37d987d181a8 diff --git a/tools/Makefile b/tools/Makefile index a981e404..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/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)