$(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