!include $(WXDIR)\src\makevc.env
+!if "$(RM)" == ""
+RM= erase
+!endif
+
all: $(PROGRAM).exe
wx:
$(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