Tie _infotojson into the Makefile, so we can do "make
[ccan] / tools / Makefile
index c92bb54b7631a054da532b8d368a72e0d3bcc662..4f6f699abbef92d1443d89d8c7c2676f96ee07e1 100644 (file)
@@ -1,10 +1,15 @@
-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/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 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