$(RESCOMP) $(RCINPUTSWITCH) $(TARGET).rc $(RCOUTPUTSWITCH) $(TARGET)_resources.o $(RESFLAGS)
clean:
- rm -f $(OBJECTS) $(TARGET)_resources.o $(TARGET).exe core *.rsc *.res
+ -$(RM) *.o
+ -$(RM) $(TARGET)_resources.o
+ -$(RM) core
+ -$(RM) *.rsc
+ -$(RM) *.res
+ -$(RM) *.exe
+
+cleanall: clean
+ -$(RM) $(TARGET).exe