help-make
[Top][All Lists]
Advanced

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

Re: how to know functional details of makefiles without building any in


From: Ken Smith
Subject: Re: how to know functional details of makefiles without building any in reality
Date: Fri, 4 Nov 2005 10:43:53 -0500
User-agent: mutt-ng/devel-r569 (Linux)

On Fri, Nov 04, 2005 at 02:54:49AM +0000, Sethu Prasad G wrote:
> 
>    Hi,
> 
> 
> 
>    How  to  know  the  functional  details  of all makefiles in a project
>    without  going for any realtime build -- like the available variables,
>    includes, dependencies, etc,,

Try `gmake -pq' to print the internal database.  It shows you the values
of the variables as well as where in the makefile or included makefiles
they are defined.  It also shows you each dependency relationship along
with the same location information.

>    Is  there  any  visual  tools available for Make to have the graphical
>    view  of  one  or  all  the  files  involved in the project along with
>    resolution of dependency check.

Now this would be really nice.  Unfortunately, GNU make itself does not
have this feature.  There may be branches of GNU make which offer this
but they would most likely be based on an older version of make and of
limited value.

  Ken




reply via email to

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