X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2FMakefile;h=104af9cf28b2a571e16fa86fc52ab3f12c23a97f;hp=4607d41ac9f42c318e70a1d173247ac632520892;hb=dc8042b42500f79f613b1197df6cdf739615a89f;hpb=85a33135890965218010b79c89e4d3f4905727e3 diff --git a/tools/Makefile b/tools/Makefile index 4607d41a..104af9cf 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -1,10 +1,29 @@ -ALL_TOOLS = 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/grab_file/grab_file.o ccan/talloc/talloc.o ccan/noerr/noerr.o ccan/read_write_all/read_write_all.o +ALL_TOOLS = tools/configurator/configurator tools/ccan_depends tools/doc_extract tools/namespacize tools/ccanlint/ccanlint +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/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) @@ -13,6 +32,8 @@ tools/namespacize: tools/namespacize.o $(DEP_OBJS) tools/namespacize.o tools/depends.o: tools/tools.h +tools/configurator/configurator: tools/configurator/configurator.c + tools-clean: ccanlint-clean $(RM) $(ALL_TOOLS)