Win32: delete the o directory only if it exists

This commit is contained in:
Ray Chason
2018-05-23 23:16:12 -04:00
committed by Pasi Kallinen
parent 5be0044c62
commit 6894e464d4

View File

@@ -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: