Tie _infotojson into the Makefile, so we can do "make
[ccan] / tools / Makefile
index a9ed7fd61ed5e1b9c51de8b7eca555b8caf0387c..4f6f699abbef92d1443d89d8c7c2676f96ee07e1 100644 (file)
@@ -1,10 +1,15 @@
-tools/run_tests: tools/run_tests.o ccan/tap/tap.o ccan/talloc/talloc.o 
+tools/ccan_depends: tools/ccan_depends.o tools/depends.o tools/split.o tools/grab_file.o ccan/talloc/talloc.o
+
+tools/run_tests: tools/run_tests.o tools/depends.o tools/split.o tools/grab_file.o ccan/tap/tap.o ccan/talloc/talloc.o
 
 tools/doc_extract: tools/doc_extract.c ccan/talloc/talloc.o
 
-tools/namespacize: tools/namespacize.c ccan/talloc/talloc.o
+tools/namespacize: tools/namespacize.c tools/split.o tools/grab_file.o tools/depends.o ccan/talloc/talloc.o
+
+tools/run_tests.o tools/namespacize.o tools/split.o tools/grab_file.o tools/depends.o: tools/tools.h
 
 tools-clean: ccanlint-clean
        rm -f run_tests doc_extract namespacize
 
 include tools/ccanlint/Makefile
+include tools/_infotojson/Makefile