]> git.ipfire.org Git - thirdparty/make.git/commitdiff
(How Make Works): Clearify that default goal is only first target.
authorRoland McGrath <roland@redhat.com>
Tue, 10 Oct 1995 20:18:24 +0000 (20:18 +0000)
committerRoland McGrath <roland@redhat.com>
Tue, 10 Oct 1995 20:18:24 +0000 (20:18 +0000)
make.texinfo

index 4f685fd9db2419ce861a93366f88cb9216de1703..843c7c20ebf698a4eaed933e7d3e7e499e6e4735 100644 (file)
@@ -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