make: use $(RM) for removing files

This is one of the built-in variables for Make and can increase
portability on different operating systems (eg, on Windows, the
built-in $(RM) may be defined as "del" instead of "rm -f").
This commit is contained in:
Mike Swanson 2019-09-04 14:22:49 -07:00
parent fe7d6f864a
commit eca25952ad
8 changed files with 32 additions and 29 deletions

View file

@ -6,6 +6,6 @@ $(IWAD): ../lumps/playpal/playpal-base.lmp
./bootstrap.py < $< > $@
clean:
rm -f $(IWAD)
$(RM) $(IWAD)
.PHONY: clean