Remove all files and directories that match any of the patterns within
a directory. Some examples:
removeFiles "output" ["//*"] -- delete everything inside 'output'
removeFiles "output" ["//"] -- delete 'output' itself
removeFiles "." ["//*.hi","//*.o"] -- delete all '.hi' and '.o' files
If the argument directory is missing no error is raised. This function
will follow symlinks, so should be used with care.
This function is often useful when writing a
clean action for
your build system, often as a
phony rule.