changes to infotojson for storing dependencies from get_deps()
[ccan] / Makefile
index 405ed8e06313997c1d0970223c86e821e37b066a..6329f05b46b9515d05bfe84d72f9f56ff76d817f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -14,11 +14,8 @@ libccan.a: $(ALL_LIBS)
 check: $(ALL_DIRS:%=test-%)
 
 distclean: clean
-       rm -f */_info
        rm -f $(ALL_DEPENDS)
 
-$(ALL_DEPENDS): $(ALL_DIRS:=/_info)
-
 $(ALL_DEPENDS): %/.depends: tools/ccan_depends
        tools/ccan_depends $* > $@ || ( rm -f $@; exit 1 )
 
@@ -32,7 +29,7 @@ test-ccan/%: tools/run_tests ccan/%.o
 ccanlint: tools/ccanlint/ccanlint
 
 clean: tools-clean
-       $(RM) `find . -name '*.o'` `find . -name '.depends'` `find . -name '*.a'`
+       $(RM) `find . -name '*.o'` `find . -name '.depends'` `find . -name '*.a'`  `find . -name _info`
        $(RM) inter-depends lib-depends test-depends
 
 inter-depends: $(ALL_DEPENDS)