[Top][All Lists]

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

Re: Improvement on parallel make

From: Brendan Heading
Subject: Re: Improvement on parallel make
Date: Tue, 12 Dec 2006 15:57:00 +0000

Christophe Lyon writes:
Consider a variant of this; the original Makefile is:
all: one two three
one:  some-deps1
two: some-deps2
three: some-deps3
Now, I call "make -j" and discover that one two and three should be ran
sequentially, I suppose you will suggest to have two depend on one and three depend on two. But then, I would like that when I call "make two", only two is rebuilt, not "one".
Inserting .WAIT in the all target solves this issue, without calling make

As does making one a prerequisite of two.

reply via email to

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