From: James on
For a given makefile, how to list the pre-requisites for a particular
target without modifying the makefile?

TIA
-jl
From: Icarus Sparry on
On Thu, 12 Aug 2010 13:56:37 -0700, James wrote:

> For a given makefile, how to list the pre-requisites for a particular
> target without modifying the makefile?
>
> TIA
> -jl

Does
make -n -p > make.out
and then examine make.out answer your question? If not then can you
explain, preferably with an example, exactly what you are looking for?
From: James on
On Aug 12, 4:17 pm, Icarus Sparry <use...(a)icarus.freeuk.com> wrote:
> On Thu, 12 Aug 2010 13:56:37 -0700, James wrote:
> > For a given makefile, how to list the pre-requisites for a particular
> > target without modifying the makefile?
>
> > TIA
> > -jl
>
> Does
>           make -n -p > make.out
> and then examine make.out answer your question? If not then can you
> explain, preferably with an example, exactly what you are looking for?

That answers my question! I can use

make -nprR