This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building java library is slow


On 31-Mar-2002, Richard Henderson <rth@redhat.com> wrote:
> On Sun, Mar 31, 2002 at 07:28:57PM +1000, Fergus Henderson wrote:
> > Probably the right fix for this is, like the message says, to add
> > `+' at the start of the rules which recursively invoke make for the
> > subdirectories.
> 
> Does that break bsd make?

I'm not sure off-hand, but if so, it could be worked around by using
a variable which is set by an autoconf test.

E.g. instead of

	foo-subdir:
		cd foo && make

you can write

	RECURSIVE = +

	foo-subdir:
		$(RECURSIVE) cd foo && make

and it will still work correctly.  For non-GNU Make, just set RECURSIVE
to be empty instead of `+'.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]