diff options
author | Roland McGrath <roland@redhat.com> | 1988-06-03 00:07:30 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1988-06-03 00:07:30 +0000 |
commit | 8d8b42b086e541ad47915d9b7cb01a561f82ebf6 (patch) | |
tree | 7621fbebb46df240cc81bdf131411148f1d8a933 /make.texinfo | |
parent | 4f7ffc8c0f61ac5602479b42c4f09549dce0e1fa (diff) | |
download | gunmake-8d8b42b086e541ad47915d9b7cb01a561f82ebf6.tar.gz |
* Fixed a typo in the `Missing' section.
* Added an example of how to replace the System V $$@ feature
using static pattern rules.
Diffstat (limited to 'make.texinfo')
-rw-r--r-- | make.texinfo | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/make.texinfo b/make.texinfo index 997c670..298d713 100644 --- a/make.texinfo +++ b/make.texinfo @@ -6,7 +6,12 @@ $Header$ $Log$ -Revision 1.52 1988/05/30 21:39:16 mcgrath +Revision 1.53 1988/06/03 00:07:30 mcgrath +* Fixed a typo in the `Missing' section. +* Added an example of how to replace the System V $$@ feature + using static pattern rules. + +Revision 1.52 88/05/30 21:39:16 mcgrath Added `foreach' and `sort' functions. Revision 1.51 88/05/26 17:55:55 mcgrath @@ -4301,7 +4306,7 @@ Recursive variable references. @xref{Reference}. The @code{make} programs in various other systems support a few features that are not implemented in GNU @code{make}. -suffix rule @samp{.c~.o} would make files @file{@var{n}.o} file from +@itemize @bullet @item A target of the form @samp{@var{file}((@var{entry}))} stands for a member of archive file @var{file}. The member is chosen, not by name, but by @@ -4316,6 +4321,20 @@ Suffixes (used in suffix rules) that end with the character @samp{~} have a special meaning; they refer to the SCCS file that corresponds to the file one would get without the @samp{~}. For example, the suffix rule @samp{.c~.o} would make the file @file{@var{n}.o} file from +the SCCS file @file{s.@var{n}.c}. For complete coverage, a whole +series of such suffix rules is required. @xref{Suffix Rules}.@refill +rules. The System V @code{make} rule: +In GNU @code{make}, this entire series of cases is handled by two +pattern rules for extraction from SCCS, in combination with the +$(targets): $$@.o lib.a + +@item +In System V @code{make}, the string @samp{$$@@} has the strange meaning +that, in the dependencies of a rule with multiple targets, it stands +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{$}. @noindent can be replaced with the GNU @code{make} static pattern rule: |