From 3b66313a6476819c645973c325ae083a320c5e5f Mon Sep 17 00:00:00 2001 From: ken Date: Tue, 23 Jul 2002 20:03:48 +0000 Subject: [PATCH] [project @ 2002-07-23 20:03:48 by ken] Change "rm" in example makefile to "rm -f", in case there is no .o file to remove --- ghc/docs/users_guide/separate_compilation.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc/docs/users_guide/separate_compilation.sgml b/ghc/docs/users_guide/separate_compilation.sgml index a07c3ee..ccff0b5 100644 --- a/ghc/docs/users_guide/separate_compilation.sgml +++ b/ghc/docs/users_guide/separate_compilation.sgml @@ -297,7 +297,7 @@ OBJS = Main.o Foo.o Bar.o .SUFFIXES : .o .hs .hi .lhs .hc .s cool_pgm : $(OBJS) - rm $@ + rm -f $@ $(HC) -o $@ $(HC_OPTS) $(OBJS) # Standard suffix rules -- 1.7.10.4