[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: $(wildcard ) evaluation
From: |
Garrett Cooper |
Subject: |
Re: $(wildcard ) evaluation |
Date: |
Wed, 23 Jul 2008 10:36:16 -0700 |
On Wed, Jul 23, 2008 at 10:34 AM, Garrett Cooper <address@hidden> wrote:
>
> You'll need double the $ in defines if you're referencing variables
> outside the scope of the define.
>
> I'd read more about second-expansion, et all in the manual.
>
> -Garrett
Scratch "if you're referencing variables outside the scope of the
define". If you're happy with the statements being evaluated /
resolved in the first-pass of the define, $ is fine. Otherwise, use $$
to defer its expansion until make gets around to the second define
eval (which is what you want here).
-Garrett
- $(wildcard ) evaluation, Rinehart, Raleigh, 2008/07/23
- Re: $(wildcard ) evaluation, Garrett Cooper, 2008/07/23
- Re: $(wildcard ) evaluation,
Garrett Cooper <=
- Re: $(wildcard ) evaluation, Philip Guenther, 2008/07/23
- RE: $(wildcard ) evaluation, Rinehart, Raleigh, 2008/07/23
- Re: $(wildcard ) evaluation, Philip Guenther, 2008/07/23
- RE: $(wildcard ) evaluation, Rinehart, Raleigh, 2008/07/23