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 )
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)