rmRf should work on non-directories, too
return failed dependencies when listing recursively; refuse to build if dependencies are missing