The same thing that make gmake -j work well for you is whats getting you
here.  I assume you have something like:

all: app1 app2

gmake will perform app1 and app2 at the same time.  To force one then the
other, you need to introduce dependency.  The fastest way would be:

all: app1

app1: app2

But if that is too hidden you could do

all:
    $(MAKE) app1
    $(MAKE) app2 

or create extra targets to do the first thing but in an easier to track down
manner.  

Hope this helps,

Tom

-----Original Message-----
From: Jeff
To: [EMAIL PROTECTED]
Sent: 6/18/2003 2:28 PM
Subject: [distcc] parallel make question

I have a make target which ends up building two rather huge executables.

It compiles fast as hell thanks to distcc, but when it starts linking, 
each linker is over 200M in size and brings my system to its knees.

Does anyone know of a sneaky way prevent parallel makes when using -j?


Thanks,

Jeff


__ 
distcc mailing list            http://distcc.samba.org/
To unsubscribe or change options: 
http://lists.samba.org/cgi-bin/mailman/listinfo/distcc

-----------------------------------------------------------------------
DISCLAIMER:  Information contained in this message and/or
attachment(s) may contain confidential information of Zetec, Inc.
If you have received this transmission in error, please notify
the sender by return email.
-----------------------------------------------------------------------
__ 
distcc mailing list            http://distcc.samba.org/
To unsubscribe or change options: 
http://lists.samba.org/cgi-bin/mailman/listinfo/distcc

Reply via email to