Re: Setting environment variables with Make
Tom Browder <[email protected]> Sat, 7 Mar 2009 14:32:40 -0600
| Newsgroups | gmane.comp.gnu.utils |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Mar 7, 2009 at 2:27 PM, Paul Jarc <[email protected]> wrote: > Ralf Wildenhues <[email protected]> wrote: ... > This shold be expanding a shell variable, not a Makefile variable, so > one more change is needed: > > foo: > bar=`output of some command`; \ > echo $${bar} > > Or if you want to check for failure in the first command: > > foo: > bar=`output of some command` && \ > echo $${bar} I tried this: JUNK = *~ core clean: <tab>rm $$(JUNK) and no luck. -Tom