X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2FMakefile;h=d3d1904e395caf281fd87ca1b135d69e2945733a;hp=a981e4049def9bfcd06027aaf7f8afee46feb17c;hb=f103f73ff040a8700a2bbd47948277e7c484baa2;hpb=fa64b4599366818ea546c7db026f37d987d181a8 diff --git a/tools/Makefile b/tools/Makefile index a981e404..d3d1904e 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -1,10 +1,26 @@ 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/grab_file/grab_file.o \ + ccan/noerr/noerr.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/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)