help-make
[Top][All Lists]
Advanced

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

Re: Finding Circular Dependencies


From: David A. Greene
Subject: Re: Finding Circular Dependencies
Date: Mon, 11 Feb 2008 11:53:53 -0600
User-agent: KMail/1.9.1

On Sunday 10 February 2008 18:35, you wrote:
> Hi David!
>
> This is an interesting question. I experimented a bit and tried to solve
> a more general problem, too: visualising makefile dependencies. I found
> a Perl module named Makefile::GraphViz and used it to build a bash
> script + a little perl helper script and added it to an open source
> project's SVN reopsitory. You might want to take a look at
> http://www.freetz.org/wiki/visualise_makefile. The wiki page is in
> German, but the scripts are in English and so is the main script's help
> page. On the bottom of wiki page you find a few sample images.
>
> I hope this helps, because the graphical representations of GNU Make's
> dependency graphs help to relatively easily detect circular references,
> too.

Unfortunately, I can't get the graphviz stuff to work and the .flt file only
contains dependencies AFTER make has already removed circular dependencies.

But thanks for this tool.  I too hope this kind of thing can be directly 
integrated into make.  It would help a lot.

                                                    -Dave




reply via email to

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