> > On May 23, 2023, at 5:13 AM, Zoltán Turányi > > <zoltan.tura...@ericsson.com> wrote: > > I use make with autotools in multiple directories and have observed that > > parallel builds are limited to each directory, as autotools invoked make > > separately for each directory.
In my experience, if make is called recursively correctly with "$(MAKE)" rather than with a new non-parallell invocation of "make" this is a non-problem as all parallell jobs will be put in the recursive call of make which needs it. On Tue, 23 May 2023 12:07:51 -0400 "David A. Wheeler" <dwhee...@dwheeler.com> wrote: > The solution is to *NOT* use recursive make. Have *ONE* process run the > makefile, with the correct data. Now you can enable parallel jobs, and have > it run really quickly, because the make process has the correct information. > Using this approach you can routinely run large make jobs in a fraction of a > second. If you prefer to do it that way, you can have your top Makefile include all sub.mk files in the directory structure that it is able to find. regards Henrik