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:
George Tasker 2001-01-16 10:58:34 +00:00
parent fcc864256f
commit cd8528426b

View File

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