help-make
[Top][All Lists]
Advanced

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

Re: How to get a makefile include graph with make?


From: Paul Smith
Subject: Re: How to get a makefile include graph with make?
Date: Thu, 04 Sep 2008 12:42:43 -0400

On Thu, 2008-09-04 at 11:25 -0500, Peng Yu wrote:
> The general question is how to figure out the leaf makefiles that are
> either directly or indirectly included in a makefiles. Here, a leaf
> makefile is a makefile that does not include other makefiles.

Well, something like this should work (untested):

        show-leaf:
                @grep -L '^ *[-s]*include ' $(MAKEFILE_LIST)






reply via email to

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