diff options
author | Roland McGrath <roland@redhat.com> | 1988-07-04 13:41:43 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1988-07-04 13:41:43 +0000 |
commit | bf811644073d6a5fcb990e6fc068340cc2c8a3e4 (patch) | |
tree | 67a003d5d23b712044b329d925cea5960d96a848 /make.texinfo | |
parent | 3206072ac3daaf856012aa3208e6d93f15c8953f (diff) | |
download | gunmake-bf811644073d6a5fcb990e6fc068340cc2c8a3e4.tar.gz |
Gave credit for VPATH to System V (where it was invented, but
is undocumented) as well as 4.3 BSD (where it was taken from
System V and documented).
Added the replacement of filenames found via VPATH search inside
commands to `Missing' list. Maybe implement this soon?
Diffstat (limited to 'make.texinfo')
-rw-r--r-- | make.texinfo | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/make.texinfo b/make.texinfo index b39fb0b..8b91b6d 100644 --- a/make.texinfo +++ b/make.texinfo @@ -4586,13 +4586,16 @@ Here is a summary of the features of GNU @code{make}, for comparison with and credit to other versions of @code{make}. We consider the features of @code{make} in BSD 4.2 systems as a baseline. -The @code{VPATH} variable and its special meaning come from the @code{make} -in BSD 4.3. @xref{Directory Search}. - Many features come from the version of @code{make} in System V: @itemize @bullet @item +The @code{VPATH} variable and its special meaning. @xref{Directory +Search}. This feature exists in System V @code{make}, but is undocumented. +It is documented in 4.3 BSD @code{make} (which says it mimics System V's +@code{VPATH} feature).@refill + +@item Included makefiles. @xref{Include}. @item @@ -4724,7 +4727,7 @@ any characters. In other version of @code{make}, they must begin with @item The variable @code{MAKELEVEL} which keeps track of the current level of @code{make} recursion. @xref{Recursion}. -The @code{make} programs in various other systems support three features + @item Static pattern rules. @xref{Static Pattern}. @@ -4770,6 +4773,14 @@ for the particular target that is being processed. This is not defined in GNU @code{make} because @samp{$$} should always stand for an ordinary @samp{$}. + +It is possible to get this functionality through the use of static pattern +rules (@pxref{Static Pattern}). The System V @code{make} rule: + +@example +$(targets): $$@@.o lib.a +@end example + @noindent can be replaced with the GNU @code{make} static pattern rule: |