Re: Target Path Stripping Possible?
[email protected] (Paul Jarc) Fri, 05 Jun 2009 15:45:40 -0400
| 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: > % : > <tab>( cd $(MASTERDIR); $(MAKE) $@ ) ... > I would like to call, from the user directory: > > make tgt > > and have the top Makefile translate to the $(RUNDIR)/tgt. Change the subdirectory Makefile to use: % : ( cd $(MASTERDIR); $(MAKE) RUNDIR=`pwd` $@ ) paul