X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2FMakefile;h=1ab69c928e625c6ddabb0d31d0160b83a2a2171a;hp=c942bdeeb501a933e98aa05374622ccf956b010e;hb=77354575335e5ee900a4ba126d4d76e34b9273e8;hpb=2bce880a453a64d2d1dfc2e48184553ff4f2550b diff --git a/tools/Makefile b/tools/Makefile index c942bdee..1ab69c92 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -1,13 +1,21 @@ ALL_TOOLS = tools/configurator/configurator tools/ccan_depends tools/doc_extract tools/namespacize tools/ccanlint/ccanlint - -DEP_OBJS = ccan/grab_file/grab_file.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/str_talloc/str_talloc.o \ - ccan/talloc/talloc.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 @@ -15,6 +23,8 @@ DEP_OBJS = ccan/grab_file/grab_file.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)