Win32: delete the o directory only if it exists
This commit is contained in:
committed by
Pasi Kallinen
parent
5be0044c62
commit
6894e464d4
@@ -1060,7 +1060,7 @@ spotless: clean
|
|||||||
$(subst /,\,if exist $(MSWIN)/rip.bmp del $(MSWIN)/rip.bmp)
|
$(subst /,\,if exist $(MSWIN)/rip.bmp del $(MSWIN)/rip.bmp)
|
||||||
$(subst /,\,if exist $(MSWIN)/splash.bmp del $(MSWIN)/splash.bmp)
|
$(subst /,\,if exist $(MSWIN)/splash.bmp del $(MSWIN)/splash.bmp)
|
||||||
ifneq "$(OBJ)" ""
|
ifneq "$(OBJ)" ""
|
||||||
$(subst /,\,rmdir $(OBJ)) /s /Q
|
$(subst /,\,if exist $(OBJ) rmdir $(OBJ)) /s /Q
|
||||||
endif
|
endif
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|||||||
Reference in New Issue
Block a user