]> git.saurik.com Git - wxWidgets.git/blobdiff - src/makeprog.g95
Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
[wxWidgets.git] / src / makeprog.g95
index ca4f6009ceb458c584e0d359698edd64ad49d89e..98287d1450d165e218b991b1484bea3b29587491 100644 (file)
@@ -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