help-gnu-utils
[Top][All Lists]
Advanced

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

Re: Setting environment variables with Make


From: Paul Jarc
Subject: Re: Setting environment variables with Make
Date: Sat, 07 Mar 2009 15:34:09 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Tom Browder <tom.browder@gmail.com> wrote:
> I tried this:
>
> JUNK = *~ core
>
> clean:
> <tab>rm $$(JUNK)
>
> and no luck.

That's because unlike the OP, you want to expand a Makefile variable,
not a shell variable.  You should use a single $.


paul




reply via email to

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