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
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user