X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2FMakefile;h=6e4833a3b8a23d0eef9912ff00e93192f58bd992;hp=da2353271b3246c6203db26826a0c8c766ad9a2c;hb=ee77e470b467cf85dc533cee8c08e08bd4c9be06;hpb=b980b856670208893a4ac597c3b2e8dec47f453d diff --git a/tools/Makefile b/tools/Makefile index da235327..6e4833a3 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -1,14 +1,28 @@ -ALL_TOOLS = tools/configurator/configurator tools/ccan_depends tools/doc_extract tools/namespacize tools/ccanlint/ccanlint +ALL_TOOLS = tools/configurator/configurator tools/ccan_depends tools/doc_extract tools/namespacize tools/ccanlint/ccanlint tools/modfiles LDLIBS = -lrt -DEP_OBJS = ccan/grab_file/grab_file.o \ +DEP_OBJS = ccan/err/err.o \ + ccan/foreach/foreach.o \ + ccan/hash/hash.o \ + ccan/htable/htable.o \ + ccan/list/list.o \ ccan/noerr/noerr.o \ + ccan/opt/opt.o \ + ccan/opt/helpers.o \ + ccan/opt/parse.o \ + ccan/opt/usage.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/grab_file/grab_file.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 @@ -28,7 +42,9 @@ tools/namespacize.o tools/depends.o: tools/tools.h tools/configurator/configurator: tools/configurator/configurator.c +tools/modfiles: tools/modfiles.o tools/manifest.o $(DEP_OBJS) + tools-clean: ccanlint-clean - $(RM) $(ALL_TOOLS) + rm -f $(ALL_TOOLS) include tools/ccanlint/Makefile