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

Re: Include Collector (may be OT)



On 26-Jul-00, 15:24 (CDT), Bolan Meek <Bolan.Meek@wcom.com> wrote: 
> In beginning maintenance & improvement (a.k.a adoption)
> of the xmailtool source, I've wanted to collect all the
> '#include <whatever.h>' statements that are common to
> several of the source files with a Perl script, as opposed
> to a error-vulnerable method of doing it by hand.

What are you trying to accomplish? Is this for dependencies in the
Makefile?  If so, check out the '-M' (and '-MM') options for gcc, and
the section on automatic dependency maintenance in the gmake info file.

If there's some other purpose, please explain...

Steve



Reply to: