]> git.saurik.com Git - wxWidgets.git/blobdiff - src/makeprog.vc
Copied/merged from the 2.2 branch.
[wxWidgets.git] / src / makeprog.vc
index 1db976b6d5d2cf3cc9d5d820045b283d1fbe59c1..5905a183ebb2527d8e3a6822793f861e25684c0a 100644 (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