On 9 July 2007 at 11:51, Matthieu Moy <[EMAIL PROTECTED]> wrote:
> Tuomo Valkonen <[EMAIL PROTECTED]> writes:
>
> > On 2007-07-09, Andreas Bernauer <[EMAIL PROTECTED]> wrote:
> >> bug or can you briefly explain it? Googling for this issue turned up
> >> only pages (such as
> >> http://developers.sun.com/solaris/articles/parallel_make.html) telling
> >> me, if parallel make fails, the Makefile is wrong
> >
> > If parallel make fails, make is too stupid.
>
> Errr.
>
> Do you expect also any sequential program to work if you start using
> threads, and will you blame the pthread library if it doesn't do
> synchronization for you?
>
> make -j will work if you didn't rely on make being sequential, but
> what can make do with something like
>
> all: target1 target2
>
> target1:
> some-action
>
> target2:
> some-action that requires target1 to be built.
>
all: target1 target2
target1:
some-action
target2: target1
some-action that requires target1 to be built.
> ?
>
> --
> Matthieu
>