projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0a5672
)
[project @ 2002-07-23 20:03:48 by ken]
author
ken
<unknown>
Tue, 23 Jul 2002 20:03:48 +0000
(20:03 +0000)
committer
ken
<unknown>
Tue, 23 Jul 2002 20:03:48 +0000
(20:03 +0000)
Change "rm" in example makefile to "rm -f",
in case there is no .o file to remove
ghc/docs/users_guide/separate_compilation.sgml
patch
|
blob
|
history
diff --git
a/ghc/docs/users_guide/separate_compilation.sgml
b/ghc/docs/users_guide/separate_compilation.sgml
index
a07c3ee
..
ccff0b5
100644
(file)
--- 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