home | list info | list archive | date index | thread index

Re: possible race condition in makefile with multiple dependencies?

  • Subject: Re: possible race condition in makefile with multiple dependencies?
  • From: Dianne Skoll <dianne [ at ] skoll [ dot ] ca>
  • Date: Thu, 3 Jun 2021 12:01:31 -0400
On Thu, 3 Jun 2021 11:55:38 -0400 (EDT)
"Robert P. J. Day" <rpjday [ at ] crashcourse [ dot ] ca> wrote:

> i took a look at it and it was a holdover from (i believe) QNX where
> their version of make did not support parallelism so that many of the
> rules were in the form:

> target: dep1 dep2 dep3 dep4
> 	$(MAKE) -C subdir1
> 	$(MAKE) -C subdir2
> 	...
> 	$(MAKE) -C subdirn

Yeah, that's bad.  And echoing your other points...

https://accu.org/journals/overload/14/71/miller_2004/

Regards,

Dianne.

To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org
To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org
To visit the archives: https://lists.linux-ottawa.org