Eliminate rm -rf from Makefile. Use safer file-by-file rm and rmdir.