diff --git a/sys/winnt/Makefile.gcc b/sys/winnt/Makefile.gcc index 41fba8921..0adfa46e6 100644 --- a/sys/winnt/Makefile.gcc +++ b/sys/winnt/Makefile.gcc @@ -1060,7 +1060,7 @@ spotless: clean $(subst /,\,if exist $(MSWIN)/rip.bmp del $(MSWIN)/rip.bmp) $(subst /,\,if exist $(MSWIN)/splash.bmp del $(MSWIN)/splash.bmp) ifneq "$(OBJ)" "" - $(subst /,\,rmdir $(OBJ)) /s /Q + $(subst /,\,if exist $(OBJ) rmdir $(OBJ)) /s /Q endif clean: