Hello im referring to this chapter
https://www.gnu.org/software/make/manual/make.html#Secondary-Expansion

and im referring to this example here:

The following example will help illustrate these behaviors:

.SECONDEXPANSION:

foo: foo.1 bar.1 $$< $$^ $$+    # line #1

foo: foo.2 bar.2 $$< $$^ $$+    # line #2

foo: foo.3 bar.3 $$< $$^ $$+    # line #3

In the first prerequisite list, all three variables ($$<, $$^, and $$+)
expand to the empty string. In the second, they will have values foo.1, foo.1
bar.1, and foo.1 bar.1 respectively. In the third they will have values
foo.1, foo.1 bar.1 foo.2 bar.2, and foo.1 bar.1 foo.2 bar.2 foo.1 foo.1
bar.1 foo.1 bar.1 respectively.

please could you tell me how* foo.1 bar.1 foo.2 bar.2 foo.1 foo.1 bar.1
foo.1 bar.1* is derived?

On Wed, Feb 15, 2023 at 6:06 PM Paul Smith <psm...@gnu.org> wrote:

> On Wed, 2023-02-15 at 05:10 +0000, Shailan Patel wrote:
> > do you know whether the third prerequisite list here
> > https://prnt.sc/_l1Jg2gkV4v_  expands to "foo.1 bar.1 foo.2 bar.2
> > foo.1 foo.1 bar.1 foo.1 bar.1" https://pastebin.com/DFr9Athi ?
>
> Hi;
>
> Please choose just one mailing list to ask on since most people read
> both.  I chose to keep bug-make in this reply.
>
> Also please cut and paste the text you're talking about, or at least
> include a reference to where in the manual you're looking, rather than
> using links to external sites containing screenshots.  Some people
> can't or won't follow these links, others can't view screenshots, and
> at some point those external sites will go away and those links will
> stop working, then we can't understand the question when we view it in
> the email list archives.
>
> Thanks!
>

Reply via email to