On Fri, 2025-06-27 at 04:09 -0800, Britton Kerin wrote:
> The many answers here show the appetite for finding out about
> variables:
>     https://stackoverflow.com/questions/16467718/how-to-print-out-a-
> variable-in-makefile
> 
> A variety of different approaches are represented there, but none of
> them cover all situations.
> 
> I think --debug would be the place for some general solution. 
> Thoughts?

I don't really understand what the ask is here, exactly.  Maybe you
could enumerate (at least some of) "all situations"?  By "situations"
do you mean, locations in the makefile?  The $(info ...) function is
available everywhere...

Another option is to use the --print-database (-p) option.  Is that
more what you had in mind?

Reply via email to