From: cuz Date: Wed, 20 Aug 2003 18:05:44 +0000 (+0000) Subject: Use $(RM) instead of rm -f X-Git-Tag: V2.12.0~1359 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=79edfdd0df87a9ae86888d09f182384a6872c67d;p=cc65 Use $(RM) instead of rm -f git-svn-id: svn://svn.cc65.org/cc65/trunk@2402 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ar65/make/gcc.mak b/src/ar65/make/gcc.mak index 4a5b018ad..e4addbcb7 100644 --- a/src/ar65/make/gcc.mak +++ b/src/ar65/make/gcc.mak @@ -45,10 +45,10 @@ ar65: $(OBJS) $(LIBS) @if [ $(OS2_SHELL) ] ; then $(EBIND) $@ ; fi clean: - rm -f *~ core + $(RM) *~ core zap: clean - rm -f *.o $(EXECS) .depend + $(RM) *.o $(EXECS) .depend # ------------------------------------------------------------------------------ # Make the dependencies diff --git a/src/cc65/make/gcc.mak b/src/cc65/make/gcc.mak index b87785b0b..10df2079c 100644 --- a/src/cc65/make/gcc.mak +++ b/src/cc65/make/gcc.mak @@ -107,10 +107,10 @@ $(EXE): $(OBJS) $(LIBS) @if [ $(OS2_SHELL) ] ; then $(EBIND) $(EXE) ; fi clean: - rm -f *~ core *.map + $(RM) *~ core *.map zap: clean - rm -f *.o $(EXE) .depend + $(RM) *.o $(EXE) .depend # ------------------------------------------------------------------------------ # Make the dependencies diff --git a/src/cl65/make/gcc.mak b/src/cl65/make/gcc.mak index 87153f7cb..bbb7e8690 100644 --- a/src/cl65/make/gcc.mak +++ b/src/cl65/make/gcc.mak @@ -38,10 +38,10 @@ cl65: $(OBJS) $(LIBS) @if [ $(OS2_SHELL) ] ; then $(EBIND) cl65 ; fi clean: - rm -f *~ core + $(RM) *~ core zap: clean - rm -f *.o $(EXECS) .depend + $(RM) *.o $(EXECS) .depend # ------------------------------------------------------------------------------ diff --git a/src/co65/make/gcc.mak b/src/co65/make/gcc.mak index 58f2dd40d..7a56468dd 100644 --- a/src/co65/make/gcc.mak +++ b/src/co65/make/gcc.mak @@ -38,10 +38,10 @@ co65: $(OBJS) $(LIBS) @if [ $(OS2_SHELL) ] ; then $(EBIND) $@ ; fi clean: - rm -f *~ core *.lst + $(RM) *~ core *.lst zap: clean - rm -f *.o $(EXECS) .depend + $(RM) *.o $(EXECS) .depend # ------------------------------------------------------------------------------ # Make the dependencies diff --git a/src/common/make/gcc.mak b/src/common/make/gcc.mak index e726ec7f1..fccc131bf 100644 --- a/src/common/make/gcc.mak +++ b/src/common/make/gcc.mak @@ -55,10 +55,10 @@ $(LIB): $(OBJS) $(AR) rs $(LIB) $? clean: - rm -f *~ core *.map + $(RM) *~ core *.map zap: clean - rm -f *.o $(LIB) .depend + $(RM) *.o $(LIB) .depend # ------------------------------------------------------------------------------ # Make the dependencies diff --git a/src/da65/make/gcc.mak b/src/da65/make/gcc.mak index d2d38a8a1..49d4991f4 100644 --- a/src/da65/make/gcc.mak +++ b/src/da65/make/gcc.mak @@ -47,10 +47,10 @@ da65: $(OBJS) $(LIBS) @if [ $(OS2_SHELL) ] ; then $(EBIND) $@ ; fi clean: - rm -f *~ core *.map + $(RM) *~ core *.map zap: clean - rm -f *.o $(EXECS) .depend + $(RM) *.o $(EXECS) .depend # ------------------------------------------------------------------------------ diff --git a/src/grc/make/gcc.mak b/src/grc/make/gcc.mak index 8bfb7acac..592c1fee4 100644 --- a/src/grc/make/gcc.mak +++ b/src/grc/make/gcc.mak @@ -31,10 +31,10 @@ grc: $(OBJS) $(LIBS) @if [ $(OS2_SHELL) ] ; then $(EBIND) $@ ; fi clean: - rm -f *~ core *.lst + $(RM) *~ core *.lst zap: clean - rm -f *.o $(EXECS) .depend + $(RM) *.o $(EXECS) .depend # ------------------------------------------------------------------------------ # Make the dependencies diff --git a/src/ld65/make/gcc.mak b/src/ld65/make/gcc.mak index ab3d4a314..e9fdf92e2 100644 --- a/src/ld65/make/gcc.mak +++ b/src/ld65/make/gcc.mak @@ -93,10 +93,10 @@ ld65: $(INCS) $(OBJS) $(LIBS) inc: $(INCS) clean: - rm -f *~ core *.map + $(RM) *~ core *.map zap: clean - rm -f *.o $(INCS) $(EXECS) .depend + $(RM) *.o $(INCS) $(EXECS) .depend # ------------------------------------------------------------------------------ diff --git a/src/od65/make/gcc.mak b/src/od65/make/gcc.mak index 5642308ac..97659c6f5 100644 --- a/src/od65/make/gcc.mak +++ b/src/od65/make/gcc.mak @@ -37,10 +37,10 @@ $(EXE): $(OBJS) @if [ $(OS2_SHELL) ] ; then $(EBIND) $(EXE) ; fi clean: - rm -f *~ core *.map + $(RM) *~ core *.map zap: clean - rm -f *.o $(EXE) .depend + $(RM) *.o $(EXE) .depend # ------------------------------------------------------------------------------ # Make the dependencies diff --git a/src/sim65/make/gcc.mak b/src/sim65/make/gcc.mak index 0e7682b8b..e2c1e25b0 100644 --- a/src/sim65/make/gcc.mak +++ b/src/sim65/make/gcc.mak @@ -51,11 +51,11 @@ chips: clean: @$(MAKE) -C chips -f make/gcc.mak clean - rm -f *~ core *.lst + $(RM) *~ core *.lst zap: clean @$(MAKE) -C chips -f make/gcc.mak zap - rm -f *.o $(EXECS) .depend + $(RM) *.o $(EXECS) .depend # ------------------------------------------------------------------------------ # Make the dependencies