]> 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 fbe21342f660f26fc320c9f6ead9bd2ef394a5ed..98287d1450d165e218b991b1484bea3b29587491 100644 (file)
@@ -20,9 +20,12 @@ $(TARGET)_resources.o:  $(TARGET).rc
        $(RESCOMP) $(RCINPUTSWITCH) $(TARGET).rc $(RCOUTPUTSWITCH) $(TARGET)_resources.o $(RESFLAGS)
 
 clean:
-       rm -f *.o
-       rm -f $(TARGET)_resources.o
-       rm -f $(TARGET).exe 
-       rm -f core 
-       rm -f *.rsc
-       rm -f *.res
+       -$(RM) *.o
+       -$(RM) $(TARGET)_resources.o
+       -$(RM) core 
+       -$(RM) *.rsc
+       -$(RM) *.res
+       -$(RM) *.exe
+
+cleanall: clean
+       -$(RM) $(TARGET).exe