-# This is split in 2 because of the shell argument limit
-$(eval $(call bindist,root1,\
+ifneq "$(CLEANING)" "YES"
+# This rule seems to hold some files open on Windows which prevents
+# cleaning, perhaps due to the $(wildcard).
+
+$(eval $(call bindist,.,\