Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Jul 2005 12:52:35 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Michael Dexter <dexter@ambidexter.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: List all make targets?
Message-ID:  <42C96953.9020406@mac.com>
In-Reply-To: <a06230909beeec801f4e1@[192.168.1.100]>
References:  <a06230909beeec801f4e1@[192.168.1.100]>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Dexter wrote:
> Is there a 'make' flag to list all make targets for any given directory 
> containing Makefile* ?

grep ':' Makefile  ...comes pretty close.

> Appreciated!
> 
> On the same topic, can anyone recommend an IDE or utility that can help 
> me navigate the make hierarchy used by 'build/installworld' and 'release?'

An IDE would simply provide a graphic front end that invokes the make commands 
underneath.  It wouldn't make the process less complex.

> It's a brilliant mechanism but I get lost chasing variables that may 
> span /usr/src/Makefile.inc1 and /usr/share/mk/ and...

What problem are you trying to solve?  You don't need to read all of that to 
use it, any more than a developer needs to understand each and every header 
file in order to use #include <stdlib.h>.

-- 
-Chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42C96953.9020406>