diff --git a/libsrc/Makefile b/libsrc/Makefile index 625767ea7..accbf8388 100644 --- a/libsrc/Makefile +++ b/libsrc/Makefile @@ -275,7 +275,7 @@ zap: clean @for i in cbm common conio dbg em joystick runtime tgi $(ALLTARGETS); do\ $(MAKE) -C $$i zap; \ done - @rm -f *.o *.emd *.joy *.lib *.tgi + @$(RM) *.o *.emd *.joy *.lib *.tgi diff --git a/samples/Makefile b/samples/Makefile index 571c651ca..88b4f8e1d 100644 --- a/samples/Makefile +++ b/samples/Makefile @@ -83,11 +83,11 @@ samples.d64: all .PHONY: clean clean: - rm -f *~ *.map *.o *.s *.lbl + $(RM) *~ *.map *.o *.s *.lbl .PHONY: zap zap: clean - rm -f $(EXELIST) samples.d64 + $(RM) $(EXELIST) samples.d64 diff --git a/samples/geos/ca65-vlir/Makefile b/samples/geos/ca65-vlir/Makefile index ff7f4f9cc..5f6dfcdf2 100644 --- a/samples/geos/ca65-vlir/Makefile +++ b/samples/geos/ca65-vlir/Makefile @@ -10,7 +10,7 @@ all: vlir0.s vlir1.s vlir2.s cvthead.grc .PHONY: clean clean: - -rm *.o vlir-head vlir0 vlir1 vlir2 cvthead.s cvthead.cfg out.cvt + -$(RM) *.o vlir-head vlir0 vlir1 vlir2 cvthead.s cvthead.cfg out.cvt love: @echo "Not war, eh?"