summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1995-10-10 20:18:24 +0000
committerRoland McGrath <roland@redhat.com>1995-10-10 20:18:24 +0000
commit692858922f60ed757d1683f8d3c559978a85dd18 (patch)
tree65b65523b75b5b2445fc5ed0a2ad819c1d3ea334
parent9da3bccd89f53082d1d3b3e3e660120eba7206d5 (diff)
downloadgunmake-692858922f60ed757d1683f8d3c559978a85dd18.tar.gz
(How Make Works): Clearify that default goal is only first target.
-rw-r--r--make.texinfo17
1 files changed, 12 insertions, 5 deletions
diff --git a/make.texinfo b/make.texinfo
index 4f685fd..843c7c2 100644
--- a/make.texinfo
+++ b/make.texinfo
@@ -632,11 +632,10 @@ from @code{rm} or any other command.
@cindex processing a makefile
@cindex makefile, how @code{make} processes
-By default, @code{make} starts with the first rule (not counting rules
-whose target names start with @samp{.}). This is called the
-@dfn{default goal}. (@dfn{Goals} are the targets that @code{make}
-strives ultimately to update. @xref{Goals, , Arguments to Specify the
-Goals}.)
+By default, @code{make} starts with the first target (not targets whose
+names start with @samp{.}). This is called the @dfn{default goal}.
+(@dfn{Goals} are the targets that @code{make} strives ultimately to
+update. @xref{Goals, , Arguments to Specify the Goals}.)
@cindex default goal
@cindex goal, default
@cindex goal
@@ -3565,6 +3564,14 @@ from getting implicit commands (from implicit rules or the
@code{.DEFAULT} special target; @pxref{Implicit Rules} and
@pxref{Last Resort, ,Defining Last-Resort Default Rules}).@refill
+@c !!! another reason is for canonical stamp files:
+@ignore
+foo: stamp-foo ;
+stamp-foo: foo.in
+ create foo frm foo.in
+ touch $@
+@end ignore
+
You may be inclined to define empty command strings for targets that are
not actual files, but only exist so that their dependencies can be
remade. However, this is not the best way to do that, because the