From: George Tasker Date: Tue, 16 Jan 2001 10:58:34 +0000 (+0000) Subject: Changed code to use the RM environment variable (if one exists) to delete files.... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cd8528426bb359aa85af8bc1ce06b214a11e68d1 Changed code to use the RM environment variable (if one exists) to delete files. If one does not exist, the ERASE command is used which is what was used previously git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/makeprog.vc b/src/makeprog.vc index 1db976b6d5..5905a183eb 100644 --- a/src/makeprog.vc +++ b/src/makeprog.vc @@ -17,6 +17,10 @@ WXUSINGDLL=0 !include $(WXDIR)\src\makevc.env +!if "$(RM)" == "" +RM= erase +!endif + all: $(PROGRAM).exe wx: @@ -41,9 +45,9 @@ $(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc $(rc) -r /i$(WXDIR)\include /i$(WXDIR)\contrib\include -fo$@ $(PROGRAM).rc clean: - -erase $(OBJECTS) - -erase *.exe - -erase *.res - -erase *.map - -erase *.sbr - -erase *.pdb + -$(RM) $(OBJECTS) + -$(RM) *.exe + -$(RM) *.res + -$(RM) *.map + -$(RM) *.sbr + -$(RM) *.pdb