X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6a570331df89d26dfb682bedab0faf13e2c285d8..48d2ab90ee02b7e2441f33fa8575bf51f56a364e:/src/makeprog.g95?ds=sidebyside

diff --git a/src/makeprog.g95 b/src/makeprog.g95
index ca4f6009ce..98287d1450 100644
--- a/src/makeprog.g95
+++ b/src/makeprog.g95
@@ -20,9 +20,12 @@ $(TARGET)_resources.o:  $(TARGET).rc
 	$(RESCOMP) $(RCINPUTSWITCH) $(TARGET).rc $(RCOUTPUTSWITCH) $(TARGET)_resources.o $(RESFLAGS)
 
 clean:
-	erase *.o
-	erase $(TARGET)_resources.o
-	erase $(TARGET).exe 
-	erase core 
-	erase *.rsc
-	erase *.res
+	-$(RM) *.o
+	-$(RM) $(TARGET)_resources.o
+	-$(RM) core 
+	-$(RM) *.rsc
+	-$(RM) *.res
+	-$(RM) *.exe
+
+cleanall: clean
+	-$(RM) $(TARGET).exe