help-make
[Top][All Lists]
Advanced

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

Re: .SECONDEXPANSION and patsubst


From: Martin d'Anjou
Subject: Re: .SECONDEXPANSION and patsubst
Date: Wed, 15 Sep 2010 11:55:56 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1

 Le 2010-09-15 11:26, Oleksandr Gavenko a écrit :
When change example to
PERCENT = %
variable := prefix_value
.SECONDEXPANSION:
test_%: $$(info $$(patsubst
prefix_$$(PERCENT),$$(PERCENT)_suffix,$$(variable)))
      @echo TEST $@

work successful:

    $ make test_foo
value_suffix
TEST test_foo

So  '%' in patsubst conflict with '%' mining in static rules!
Thank you!

Martin

--
Martin d'Anjou
ASIC Development Process and Verification
Phone: 613-726-2904 x233


The information and any attached documents contained in this message
may be confidential and/or legally privileged.  The message is
intended solely for the addressee(s).  If you are not the intended
recipient, you are hereby notified that any use, dissemination, or
reproduction is strictly prohibited and may be unlawful.  If you are
not the intended recipient, please contact the sender immediately by
return e-mail and destroy all copies of the original message.



reply via email to

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