diff --git a/src/Makefile b/src/Makefile
index e6ad486f126ce5558721c22363c596c0c4dc4371..1e1f950cb80bd2a975329ca6089cfe097b1eb16a 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -46,8 +46,8 @@ soap:
 	@$(LIBGSOAPBIN)/soapcpp2 -C -w -x $(WSCLIENTH)
 
 clean:
-	@find . \( -name '*.~' -o -name '*.o' -o -name '*.bak' -o -name 'core*' \) -exec rm -f {} \;
+	@find . \( -name '*~' -o -name '*.o' -o -name '*.bak' -o -name 'core*' \) -exec rm -f {} \;
 
 distclean:
-	@find . \( -name '*.o' -o -name '*.~' -o -name '*.bak' -o -name 'core*' \) -exec rm -f {} \;
+	@find . \( -name '*.o' -o -name '*~' -o -name '*.bak' -o -name 'core*' \) -exec rm -f {} \;
 	@rm -rf $(WSSERVER)* soap* $(WSCLIENTH) stdsoap* $(BINDIR)