[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: source code: src to find (target/prerequisites/recipes)
From: |
Sean Ansari |
Subject: |
Re: source code: src to find (target/prerequisites/recipes) |
Date: |
Wed, 22 Jul 2015 14:24:31 -0700 |
You can print the values of variables. I use something like:
$(warning here is what is in LOCAL_FILES $(LOCAL_FILES))
What you'll see when you issue make is: foo.c bar.c buzz.c
here is what is in LOCAL_FILES
--------------------------------------------
On Wed, 7/22/15, Kenneth Adam Miller <address@hidden> wrote:
Subject: Re: source code: src to find (target/prerequisites/recipes)
To: "Pierre Lindenbaum" <address@hidden>
Cc: address@hidden
Date: Wednesday, July 22, 2015, 11:14 AM
... reading the actual makefile
itself?
Did you know that you can use remake -x to get a trace of
what make is
trying to build? You can also do a dry run to see what all
make would do
with make -n.
On Wed, Jul 22, 2015 at 5:23 AM, Pierre Lindenbaum <
address@hidden>
wrote:
> Hi all,
> is there a simple way/place in the code of GNU make
where I can
> find/extract
> the
>
> * target
> * prerequisite(s)
> * recipe(s) ?
>
> for example in job.c / start_job_command (would it be
the right place ?) I
> whish I could `printf` all those strings.
>
> Thank you,
>
> Pierre
>
> _______________________________________________
> Help-make mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-make
>
_______________________________________________
Help-make mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-make