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). --- test/silly/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/silly') diff --git a/test/silly/Makefile b/test/silly/Makefile index afe591f9a..2678bb225 100644 --- a/test/silly/Makefile +++ b/test/silly/Makefile @@ -26,7 +26,7 @@ TARGETS=hello_source hello hello_glibc tiny all: $(TARGETS) hello_source: - -@ rm -f $(TARGETS) + -@ $(RM) $(TARGETS) -@ echo "-------" -@ echo "hello.c source: " -@ echo " " @@ -75,6 +75,6 @@ tiny: tiny.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(CC) clean: - rm -f *.[oa] *~ core $(TARGETS) + $(RM) *.[oa] *~ core $(TARGETS) -- cgit v1.2.3