[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #28456] Expansion of $$< is incorrect

From: Ian Lynagh
Subject: [bug #28456] Expansion of $$< is incorrect
Date: Fri, 01 Jan 2010 01:37:38 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/2009061208 Iceweasel/3.0.6 (Debian-3.0.6-1)


                 Summary: Expansion of $$< is incorrect
                 Project: make
            Submitted by: igloo
            Submitted on: Fri Jan  1 01:37:37 2010
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 3.81
        Operating System: Any
           Fixed Release: None
           Triage Status: None



I was trying out the example in the "Secondary Expansion" part of the manual,
and the expansion of $$< seems to be wrong in both 3.81 and CVS. For example,
this Makefile:


foo: bar q$$<

        @echo This is the general rule for $@ with deps $^

Gives this output:

$ make foo
This is the general rule for bar with deps
This is the general rule for qfoo with deps
This is the general rule for foo with deps bar qfoo

i.e. $$< appears to have been expanded to "foo", whereas I would expect it to
be expanded to the empty string.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]