Re: Setting environment variables with Make
Tom Browder <[email protected]> Sat, 7 Mar 2009 14:39:05 -0600
| Newsgroups | gmane.comp.gnu.utils |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Mar 7, 2009 at 2:34 PM, Paul Jarc <[email protected]> wrote: > 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 $. Oops! You're correct--thanks. -Tom