From 6894e464d4e1a63fe4691a81728a6d350341d793 Mon Sep 17 00:00:00 2001 From: Ray Chason Date: Wed, 23 May 2018 23:16:12 -0400 Subject: [PATCH] Win32: delete the o directory only if it exists --- sys/winnt/Makefile.gcc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: