Tom Browder <tom.brow...@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
Tom Browder <tom.brow...@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