help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Target Path Stripping Possible?


From: Paul Jarc
Subject: Re: Target Path Stripping Possible?
Date: Fri, 05 Jun 2009 15:45:40 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Tom Browder <tom.browder@gmail.com> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]