mirror of
https://github.com/mirror/make.git
synced 2025-03-25 17:20:47 +08:00
Document $+ and $(+D), $(+F).
This commit is contained in:
parent
e622fcf22e
commit
4308542cb1
21
make.texinfo
21
make.texinfo
@ -7110,6 +7110,14 @@ the value of @code{$^} contains just one copy of the name.
|
|||||||
@cindex dependencies, list of all
|
@cindex dependencies, list of all
|
||||||
@cindex list of all dependencies
|
@cindex list of all dependencies
|
||||||
|
|
||||||
|
@vindex $+
|
||||||
|
@vindex + @r{(automatic variable)}
|
||||||
|
@item $+
|
||||||
|
This is like @samp{$^}, but dependencies listed more than once are
|
||||||
|
duplicated in the order they were listed in the makefile. This is
|
||||||
|
primarily useful for use in linking commands where it is meaningful to
|
||||||
|
repeat library file names in a particular order.
|
||||||
|
|
||||||
@vindex $*
|
@vindex $*
|
||||||
@vindex * @r{(automatic variable)}
|
@vindex * @r{(automatic variable)}
|
||||||
@item $*
|
@item $*
|
||||||
@ -7934,8 +7942,9 @@ same time. @xref{Chained Rules, ,Chains of Implicit Rules}.
|
|||||||
|
|
||||||
@item
|
@item
|
||||||
The automatic variable @code{$^} containing a list of all dependencies
|
The automatic variable @code{$^} containing a list of all dependencies
|
||||||
of the current target. We did not invent this, but we have no idea who did.
|
of the current target. We did not invent this, but we have no idea who
|
||||||
@xref{Automatic, ,Automatic Variables}.
|
did. @xref{Automatic, ,Automatic Variables}. The automatic variable
|
||||||
|
@code{$+} is a simple extension of @code{$^}.
|
||||||
|
|
||||||
@item
|
@item
|
||||||
The ``what if'' flag (@samp{-W} in GNU @code{make}) was (as far as we know)
|
The ``what if'' flag (@samp{-W} in GNU @code{make}) was (as far as we know)
|
||||||
@ -8403,9 +8412,11 @@ For dependencies which are archive members, only
|
|||||||
the member named is used (@pxref{Archives}).
|
the member named is used (@pxref{Archives}).
|
||||||
|
|
||||||
@item $^
|
@item $^
|
||||||
|
@itemx $+
|
||||||
The names of all the dependencies, with spaces between them. For
|
The names of all the dependencies, with spaces between them. For
|
||||||
dependencies which are archive members, only the member named is used
|
dependencies which are archive members, only the member named is used
|
||||||
(@pxref{Archives}).
|
(@pxref{Archives}). The value of @code{$^} omits duplicate
|
||||||
|
dependencies, while @code{$+} retains them and preserves their order.
|
||||||
|
|
||||||
@item $*
|
@item $*
|
||||||
The stem with which an implicit rule matches
|
The stem with which an implicit rule matches
|
||||||
@ -8431,6 +8442,10 @@ The directory part and the file-within-directory part of @code{$<}.
|
|||||||
@itemx $(^F)
|
@itemx $(^F)
|
||||||
The directory part and the file-within-directory part of @code{$^}.
|
The directory part and the file-within-directory part of @code{$^}.
|
||||||
|
|
||||||
|
@item $(+D)
|
||||||
|
@itemx $(+F)
|
||||||
|
The directory part and the file-within-directory part of @code{$+}.
|
||||||
|
|
||||||
@item $(?D)
|
@item $(?D)
|
||||||
@itemx $(?F)
|
@itemx $(?F)
|
||||||
The directory part and the file-within-directory part of @code{$?}.
|
The directory part and the file-within-directory part of @code{$?}.
|
||||||
|
Loading…
Reference in New Issue
Block a user