help-make
[Top][All Lists]
Advanced

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

Re: suddenly, "recursive make considered harmful" makes piles of sense


From: Noel Yap
Subject: Re: suddenly, "recursive make considered harmful" makes piles of sense
Date: Wed, 19 Jan 2005 09:00:35 -0500
User-agent: Mozilla Thunderbird 0.5 (Windows/20040212)

Paul D. Smith wrote:

%% Boris Kolpackov <address@hidden> writes:

There is also a third "philosophy": gmake within any directory will
build that directory and all its dependencies and any subdirectories
and all their dependencies.

One disadvantage to this method is that in order for it to work every
time you run make it has to read ALL the makefiles.  I work on some
projects where there are 800+ directories each with a makefile in it,
and the read-in of all the makefiles for non-recursive builds takes a
considerable amount of time and memory.

If all you want to do is make a small change and recompile locally, it's
painful to wait for that.

What we do is allow both methods by setting a flag, so that quick builds
that you know are local don't require lots of setup time.

Hey, that's a good idea.

Thanks,
Noel





reply via email to

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