From 692858922f60ed757d1683f8d3c559978a85dd18 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 10 Oct 1995 20:18:24 +0000 Subject: (How Make Works): Clearify that default goal is only first target. --- make.texinfo | 17 ++++++++++++----- 1 file 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 -- cgit v1.2.3