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)




_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to