From: cuz Date: Wed, 20 Aug 2003 11:59:27 +0000 (+0000) Subject: Changed rm -f to $(RM) X-Git-Tag: V2.12.0~1366 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a3109620abbd0fb2aa1ef21c97b31ddbbbdb2c81;p=cc65 Changed rm -f to $(RM) git-svn-id: svn://svn.cc65.org/cc65/trunk@2385 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/apple2/Makefile b/libsrc/apple2/Makefile index 75addc827..81ac2c989 100644 --- a/libsrc/apple2/Makefile +++ b/libsrc/apple2/Makefile @@ -70,8 +70,8 @@ all: $(OBJS) $(EMDS) $(JOYS) $(TGIS) $(MAKE) -C $(dir $@) $(notdir $@) clean: - @rm -f $(OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(TGIS:.tgi=.o) + @$(RM) $(OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(TGIS:.tgi=.o) zap: clean - @rm -f $(EMDS) $(JOYS) $(TGIS) + @$(RM) $(EMDS) $(JOYS) $(TGIS) diff --git a/libsrc/atari/Makefile b/libsrc/atari/Makefile index 698fd3dc4..f4e05ed97 100644 --- a/libsrc/atari/Makefile +++ b/libsrc/atari/Makefile @@ -105,8 +105,8 @@ all: $(OBJS) $(EMDS) $(JOYS) $(TGIS) $(MAKE) -C $(dir $@) $(notdir $@) clean: - @rm -f $(OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(TGIS:.tgi=.o) + @$(RM) $(OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(TGIS:.tgi=.o) zap: clean - @rm -f $(EMDS) $(JOYS) $(TGIS) + @$(RM) $(EMDS) $(JOYS) $(TGIS) diff --git a/libsrc/atmos/Makefile b/libsrc/atmos/Makefile index 7dbd82e93..cc6952296 100644 --- a/libsrc/atmos/Makefile +++ b/libsrc/atmos/Makefile @@ -51,7 +51,7 @@ S_OBJS = _scrsize.o \ all: $(C_OBJS) $(S_OBJS) clean: - @rm -f $(C_OBJS:.c=.s) $(C_OBJS) $(S_OBJS) + @$(RM) $(C_OBJS:.c=.s) $(C_OBJS) $(S_OBJS) zap: clean diff --git a/libsrc/c128/Makefile b/libsrc/c128/Makefile index a9cdeb4cd..286232561 100644 --- a/libsrc/c128/Makefile +++ b/libsrc/c128/Makefile @@ -70,8 +70,8 @@ all: $(OBJS) $(EMDS) $(JOYS) $(TGIS) $(MAKE) -C $(dir $@) $(notdir $@) clean: - @rm -f $(OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(TGIS:.tgi=.o) + @$(RM) $(OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(TGIS:.tgi=.o) zap: clean - @rm -f $(EMDS) $(JOYS) $(TGIS) + @$(RM) $(EMDS) $(JOYS) $(TGIS) diff --git a/libsrc/c16/Makefile b/libsrc/c16/Makefile index 06e518233..80adaf9d1 100644 --- a/libsrc/c16/Makefile +++ b/libsrc/c16/Makefile @@ -63,8 +63,8 @@ all: $(OBJS) $(EMDS) $(JOYS) $(TGIS) $(MAKE) -C $(dir $@) $(notdir $@) clean: - @rm -f $(OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(TGIS:.tgi=.o) + @$(RM) $(OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(TGIS:.tgi=.o) zap: clean - @rm -f $(EMDS) $(JOYS) $(TGIS) + @$(RM) $(EMDS) $(JOYS) $(TGIS) diff --git a/libsrc/c64/Makefile b/libsrc/c64/Makefile index 07bf76618..5263bdce5 100644 --- a/libsrc/c64/Makefile +++ b/libsrc/c64/Makefile @@ -73,8 +73,8 @@ all: $(OBJS) $(EMDS) $(JOYS) $(SERS) $(TGIS) $(MAKE) -C $(dir $@) $(notdir $@) clean: - @rm -f $(OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(SERS:.ser=.o) $(TGIS:.tgi=.o) + @$(RM) $(OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(SERS:.ser=.o) $(TGIS:.tgi=.o) zap: clean - @rm -f $(EMDS) $(JOYS) $(SERS) $(TGIS) + @$(RM) $(EMDS) $(JOYS) $(SERS) $(TGIS) diff --git a/libsrc/cbm/Makefile b/libsrc/cbm/Makefile index 677df6a91..34760cc24 100644 --- a/libsrc/cbm/Makefile +++ b/libsrc/cbm/Makefile @@ -79,7 +79,7 @@ S_OBJS = c_acptr.o \ all: $(C_OBJS) $(S_OBJS) clean: - @rm -f *~ *.bck $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS) + @$(RM) *~ *.bck $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS) zap: clean diff --git a/libsrc/cbm510/Makefile b/libsrc/cbm510/Makefile index 1a6b412c3..ed58d70e7 100644 --- a/libsrc/cbm510/Makefile +++ b/libsrc/cbm510/Makefile @@ -78,8 +78,8 @@ all: $(OBJS) $(EMDS) $(JOYS) $(TGIS) $(MAKE) -C $(dir $@) $(notdir $@) clean: - @rm -f $(OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(TGIS:.tgi=.o) + @$(RM) $(OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(TGIS:.tgi=.o) zap: clean - @rm -f $(EMDS) $(JOYS) $(TGIS) + @$(RM) $(EMDS) $(JOYS) $(TGIS) diff --git a/libsrc/cbm610/Makefile b/libsrc/cbm610/Makefile index cc810d19c..12ea8504c 100644 --- a/libsrc/cbm610/Makefile +++ b/libsrc/cbm610/Makefile @@ -63,8 +63,8 @@ all: $(OBJS) $(EMDS) $(TGIS) $(MAKE) -C $(dir $@) $(notdir $@) clean: - @rm -f $(OBJS) $(EMDS:.emd=.o) $(TGIS:.tgi=.o) + @$(RM) $(OBJS) $(EMDS:.emd=.o) $(TGIS:.tgi=.o) zap: clean - @rm -f $(EMDS) $(TGIS) + @$(RM) $(EMDS) $(TGIS) diff --git a/libsrc/conio/Makefile b/libsrc/conio/Makefile index a6fdc8ce1..12c60a27b 100644 --- a/libsrc/conio/Makefile +++ b/libsrc/conio/Makefile @@ -33,7 +33,7 @@ OBJS = _cursor.o \ all: $(OBJS) clean: - @rm -f *~ $(OBJS) + @$(RM) *~ $(OBJS) zap: clean diff --git a/libsrc/dbg/Makefile b/libsrc/dbg/Makefile index f3cf4ebb3..61ccf309a 100644 --- a/libsrc/dbg/Makefile +++ b/libsrc/dbg/Makefile @@ -29,10 +29,7 @@ S_OBJS = asmtab.o dbgdasm.o dbgdump.o dbgisram.o dbgsupp.o all: $(C_OBJS) $(S_OBJS) clean: - @rm -f *~ - @rm -f $(C_OBJS:.o=.s) - @rm -f $(C_OBJS) - @rm -f $(S_OBJS) + @$(RM) *~ $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS) zap: clean diff --git a/libsrc/em/Makefile b/libsrc/em/Makefile index e53b9bbae..28d67b0ac 100644 --- a/libsrc/em/Makefile +++ b/libsrc/em/Makefile @@ -37,10 +37,7 @@ S_OBJS = em-kernel.o \ all: $(C_OBJS) $(S_OBJS) clean: - @rm -f *~ - @rm -f $(C_OBJS:.o=.s) - @rm -f $(C_OBJS) - @rm -f $(S_OBJS) + @$(RM) *~ $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS) zap: clean diff --git a/libsrc/geos/Makefile b/libsrc/geos/Makefile index 8b4aae9e5..22db26a49 100644 --- a/libsrc/geos/Makefile +++ b/libsrc/geos/Makefile @@ -24,5 +24,5 @@ clean: .PHONY: zap zap: clean - @rm -f ../geos.lib ../geos.o + @$(RM) ../geos.lib ../geos.o diff --git a/libsrc/geos/common/Makefile b/libsrc/geos/common/Makefile index 715ca9bc5..14cdaffe0 100644 --- a/libsrc/geos/common/Makefile +++ b/libsrc/geos/common/Makefile @@ -16,4 +16,4 @@ S_OBJS = copydata.o memcpy.o memset.o zerobss.o all: $(C_OBJS) $(S_OBJS) clean: - @rm -f core *.~ $(S_OBJS) $(C_OBJS:.o=.s) $(C_OBJS) + @$(RM) core *.~ $(S_OBJS) $(C_OBJS:.o=.s) $(C_OBJS) diff --git a/libsrc/geos/conio/Makefile b/libsrc/geos/conio/Makefile index f6d1c221d..67f9e7528 100644 --- a/libsrc/geos/conio/Makefile +++ b/libsrc/geos/conio/Makefile @@ -14,4 +14,4 @@ S_OBJS = cclear.o chline.o cvline.o cgetc.o clrscr.o color.o\ all: $(S_OBJS) clean: - @rm -f *.~ $(S_OBJS) core + @$(RM) *.~ $(S_OBJS) core diff --git a/libsrc/geos/devel/Makefile b/libsrc/geos/devel/Makefile index a5287174c..8d6b2d105 100644 --- a/libsrc/geos/devel/Makefile +++ b/libsrc/geos/devel/Makefile @@ -37,4 +37,4 @@ TGIS = geos-tgi.tgi all: $(S_OBJS) $(EMDS) $(JOYS) $(TGIS) clean: - @rm -f *.~ core $(S_OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(TGIS:.tgi=.o) + @$(RM) *.~ core $(S_OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(TGIS:.tgi=.o) diff --git a/libsrc/geos/disk/Makefile b/libsrc/geos/disk/Makefile index 45fed6905..dd08aeb6f 100644 --- a/libsrc/geos/disk/Makefile +++ b/libsrc/geos/disk/Makefile @@ -18,4 +18,4 @@ S_OBJS = blkalloc.o calcblksfree.o changediskdevice.o chkdkgeos.o enterturbo.o e all: $(S_OBJS) clean: - @rm -f *.~ $(S_OBJS) core + @$(RM) *.~ $(S_OBJS) core diff --git a/libsrc/geos/dlgbox/Makefile b/libsrc/geos/dlgbox/Makefile index 72e188093..15cd497ea 100644 --- a/libsrc/geos/dlgbox/Makefile +++ b/libsrc/geos/dlgbox/Makefile @@ -19,4 +19,4 @@ S_OBJS = dodlgbox.o rstrfrmdialogue.o\ all: $(C_OBJS) $(S_OBJS) clean: - @rm -f core *.~ $(S_OBJS) $(C_OBJS:.o=.s) $(C_OBJS) + @$(RM) core *.~ $(S_OBJS) $(C_OBJS:.o=.s) $(C_OBJS) diff --git a/libsrc/geos/file/Makefile b/libsrc/geos/file/Makefile index 020c18aa7..f944691d1 100644 --- a/libsrc/geos/file/Makefile +++ b/libsrc/geos/file/Makefile @@ -17,4 +17,4 @@ S_OBJS = get1stdirentry.o getnxtdirentry.o\ all: $(S_OBJS) clean: - @rm -f *.~ $(S_OBJS) core + @$(RM) *.~ $(S_OBJS) core diff --git a/libsrc/geos/graph/Makefile b/libsrc/geos/graph/Makefile index 82b7cb123..f69213c41 100644 --- a/libsrc/geos/graph/Makefile +++ b/libsrc/geos/graph/Makefile @@ -18,4 +18,4 @@ S_OBJS = drawline.o drawpoint.o framerectangle.o hlineregs.o horizontalline.o\ all: $(S_OBJS) clean: - @rm -f *.~ $(S_OBJS) core + @$(RM) *.~ $(S_OBJS) core diff --git a/libsrc/geos/memory/Makefile b/libsrc/geos/memory/Makefile index f9727fde5..e2af2fab3 100644 --- a/libsrc/geos/memory/Makefile +++ b/libsrc/geos/memory/Makefile @@ -15,4 +15,4 @@ S_OBJS = crc.o doublepop.o reuregs.o clearram.o fillram.o initram.o movedata.o\ all: $(S_OBJS) clean: - @rm -f *.~ $(S_OBJS) core + @$(RM) *.~ $(S_OBJS) core diff --git a/libsrc/geos/menuicon/Makefile b/libsrc/geos/menuicon/Makefile index 2a58d7853..cb5d6f475 100644 --- a/libsrc/geos/menuicon/Makefile +++ b/libsrc/geos/menuicon/Makefile @@ -14,4 +14,4 @@ S_OBJS = domenu.o dopreviousmenu.o redomenu.o recovermenu.o recoverallmenus.o\ all: $(S_OBJS) clean: - @rm -f *.~ $(S_OBJS) core + @$(RM) *.~ $(S_OBJS) core diff --git a/libsrc/geos/mousesprite/Makefile b/libsrc/geos/mousesprite/Makefile index 222099cb5..23cfbb3bf 100644 --- a/libsrc/geos/mousesprite/Makefile +++ b/libsrc/geos/mousesprite/Makefile @@ -17,4 +17,4 @@ S_OBJS = startmousemode.o clearmousemode.o mouseup.o mouseoff.o\ all: $(S_OBJS) clean: - @rm -f *.~ $(S_OBJS) core + @$(RM) *.~ $(S_OBJS) core diff --git a/libsrc/geos/process/Makefile b/libsrc/geos/process/Makefile index 4daa6581d..e5e7a5b80 100644 --- a/libsrc/geos/process/Makefile +++ b/libsrc/geos/process/Makefile @@ -13,4 +13,4 @@ S_OBJS = processinitrestartenable.o processblock.o processfreeze.o processsleep. all: $(S_OBJS) clean: - @rm -f *.~ $(S_OBJS) core + @$(RM) *.~ $(S_OBJS) core diff --git a/libsrc/geos/runtime/Makefile b/libsrc/geos/runtime/Makefile index 48871ed4b..143e044a0 100644 --- a/libsrc/geos/runtime/Makefile +++ b/libsrc/geos/runtime/Makefile @@ -16,4 +16,4 @@ S_OBJS = call.o all: $(C_OBJS) $(S_OBJS) clean: - @rm -f core *.~ $(S_OBJS) $(C_OBJS:.o=.s) $(C_OBJS) + @$(RM) core *.~ $(S_OBJS) $(C_OBJS:.o=.s) $(C_OBJS) diff --git a/libsrc/geos/system/Makefile b/libsrc/geos/system/Makefile index e4bbceaf1..789b70ac6 100644 --- a/libsrc/geos/system/Makefile +++ b/libsrc/geos/system/Makefile @@ -30,4 +30,4 @@ C_OBJS = systime.o all: $(C_OBJS) $(S_OBJS) clean: - @rm -f *.~ $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS) core + @$(RM) *.~ $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS) core diff --git a/libsrc/joystick/Makefile b/libsrc/joystick/Makefile index a82f55ebc..c1441847f 100644 --- a/libsrc/joystick/Makefile +++ b/libsrc/joystick/Makefile @@ -32,10 +32,7 @@ S_OBJS = joy-kernel.o \ all: $(C_OBJS) $(S_OBJS) clean: - @rm -f *~ - @rm -f $(C_OBJS:.o=.s) - @rm -f $(C_OBJS) - @rm -f $(S_OBJS) + @$(RM) *~ $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS) zap: clean diff --git a/libsrc/nes/Makefile b/libsrc/nes/Makefile index 81a54a1e8..e0abce806 100644 --- a/libsrc/nes/Makefile +++ b/libsrc/nes/Makefile @@ -52,7 +52,7 @@ S_OBJS = _scrsize.o \ all: $(C_OBJS) $(S_OBJS) clean: - @rm -f $(C_OBJS:.c=.s) $(C_OBJS) $(S_OBJS) + @$(RM) $(C_OBJS:.c=.s) $(C_OBJS) $(S_OBJS) zap: clean diff --git a/libsrc/pet/Makefile b/libsrc/pet/Makefile index 67f52e37e..ad67bd253 100644 --- a/libsrc/pet/Makefile +++ b/libsrc/pet/Makefile @@ -51,7 +51,7 @@ OBJS = _scrsize.o \ all: $(OBJS) clean: - @rm -f $(OBJS) + @$(RM) $(OBJS) zap: clean diff --git a/libsrc/plus4/Makefile b/libsrc/plus4/Makefile index 21ced76c3..14e9b6bb6 100644 --- a/libsrc/plus4/Makefile +++ b/libsrc/plus4/Makefile @@ -86,8 +86,8 @@ all: $(OBJS) $(EMDS) $(JOYS) $(TGIS) $(MAKE) -C $(dir $@) $(notdir $@) clean: - @rm -f $(OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(TGIS:.tgi=.o) + @$(RM) $(OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(TGIS:.tgi=.o) zap: clean - @rm -f $(EMDS) $(JOYS) $(TGIS) + @$(RM) $(EMDS) $(JOYS) $(TGIS) diff --git a/libsrc/runtime/Makefile b/libsrc/runtime/Makefile index f17099b4a..6226d3521 100644 --- a/libsrc/runtime/Makefile +++ b/libsrc/runtime/Makefile @@ -214,7 +214,7 @@ OBJS = add.o \ all: $(OBJS) clean: - @rm -f *~ $(COBJS:.o=.s) $(OBJS) + @$(RM) *~ $(COBJS:.o=.s) $(OBJS) zap: clean diff --git a/libsrc/serial/Makefile b/libsrc/serial/Makefile index 798dc1012..10af8bb07 100644 --- a/libsrc/serial/Makefile +++ b/libsrc/serial/Makefile @@ -37,10 +37,7 @@ S_OBJS = ser-kernel.o \ all: $(C_OBJS) $(S_OBJS) clean: - @rm -f *~ - @rm -f $(C_OBJS:.o=.s) - @rm -f $(C_OBJS) - @rm -f $(S_OBJS) + @$(RM) *~ $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS) zap: clean diff --git a/libsrc/tgi/Makefile b/libsrc/tgi/Makefile index 15aa88a2b..59c56df45 100644 --- a/libsrc/tgi/Makefile +++ b/libsrc/tgi/Makefile @@ -67,10 +67,7 @@ S_OBJS = tgi-kernel.o \ all: $(C_OBJS) $(S_OBJS) clean: - @rm -f *~ - @rm -f $(C_OBJS:.o=.s) - @rm -f $(C_OBJS) - @rm -f $(S_OBJS) + @$(RM) *~ $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS) zap: clean diff --git a/libsrc/vic20/Makefile b/libsrc/vic20/Makefile index fe6743572..d743243e6 100644 --- a/libsrc/vic20/Makefile +++ b/libsrc/vic20/Makefile @@ -41,7 +41,7 @@ OBJS = _scrsize.o \ mainargs.o \ randomize.o \ revers.o \ - sysuname.o + sysuname.o #-------------------------------------------------------------------------- # Drivers @@ -63,9 +63,9 @@ all: $(OBJS) $(EMDS) $(JOYS) $(TGIS) $(MAKE) -C $(dir $@) $(notdir $@) clean: - @rm -f $(OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(TGIS:.tgi=.o) + @$(RM) $(OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(TGIS:.tgi=.o) zap: clean - @rm -f $(EMDS) $(JOYS) $(TGIS) + @$(RM) $(EMDS) $(JOYS) $(TGIS)