diff --git a/Makefile b/Makefile
index ca67dfe25daa3aa41ec97cfc760827b04d9aa680..be0b5890778a5385549e047d4714cde7683a31e5 100644
--- a/Makefile
+++ b/Makefile
@@ -268,6 +268,10 @@ ifeq ($(CXX),KCC)
 clean::
 	@find . -name "ti_files" -exec rm -rf {} \; >/dev/null 2>&1
 endif
+ifeq ($(SUNCC5),true)
+clean::
+	@find . -name "SunWS_cache" -exec rm -rf {} \; >/dev/null 2>&1
+endif
 
 distclean:: clean
 	@mv -f include/config.h include/config.hh