From dd3fb0f8c1c10fcee804f11a4eed84316c5f694b Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 18 Oct 2003 10:20:59 +0000 Subject: Peter Kjellerstedt writes: rm.patch: * Define $(RM) as rm -f in Rules.mak and test/Rules.mak (this is the same definition as gmake uses by default). * Change all occurrences of rm and rm -f into $(RM). --- libc/stdlib/Makefile | 2 +- libc/stdlib/malloc-930716/Makefile | 2 +- libc/stdlib/malloc/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libc/stdlib') diff --git a/libc/stdlib/Makefile b/libc/stdlib/Makefile index a60af2712..a22a8eb0a 100644 --- a/libc/stdlib/Makefile +++ b/libc/stdlib/Makefile @@ -134,7 +134,7 @@ $(patsubst %, _dirclean_%, $(ALL_SUBDIRS)) : dummy $(MAKE) -C $(patsubst _dirclean_%, %, $@) clean clean: subdirs_clean - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core .PHONY: dummy diff --git a/libc/stdlib/malloc-930716/Makefile b/libc/stdlib/malloc-930716/Makefile index a0a5f7b90..bd52b21e9 100644 --- a/libc/stdlib/malloc-930716/Makefile +++ b/libc/stdlib/malloc-930716/Makefile @@ -42,5 +42,5 @@ $(COBJS): %.o : %.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core diff --git a/libc/stdlib/malloc/Makefile b/libc/stdlib/malloc/Makefile index 8f214880c..7172198f2 100644 --- a/libc/stdlib/malloc/Makefile +++ b/libc/stdlib/malloc/Makefile @@ -56,4 +56,4 @@ $(COBJS): %.o : %.c ../../../include/bits/uClibc_config.h $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core + $(RM) *.[oa] *~ core -- cgit v1.2.3