Re: Setting environment variables with Make

[email protected] (Paul Jarc) Sat, 07 Mar 2009 15:34:09 -0500
Newsgroups gmane.comp.gnu.utils
Organization What did you have in mind? A short, blunt, human pyramid?
Message-ID <[email protected]>
Tom Browder <[email protected]> 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