[Top][All Lists]

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

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

From: Paul D. Smith
Subject: Re: suddenly, "recursive make considered harmful" makes piles of sense
Date: Wed, 19 Jan 2005 08:53:55 -0500

%% 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.

 Paul D. Smith <address@hidden>          Find some GNU make tips at:            
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

reply via email to

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