help-make
[Top][All Lists]
Advanced

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

Re: does make behave serially when serially invoked


From: Paul Smith
Subject: Re: does make behave serially when serially invoked
Date: Fri, 19 Feb 2010 18:52:03 -0500

On Fri, 2010-02-19 at 14:27 -0800, Mark Galeck (CW) wrote:

> OBJECTS = <listed here are thousands of .o file names>
> 
> all: $(OBJECTS)
> 
> %.o: %.c
>                 echo $< >> srcs
> 
> I do make sure to not call parallel build with –j…  but my machine has
> several processor cores.  Should this work or not?  I do see dropped
> prerequisites sometimes.  From my reading of the manual, it seems to
> imply that without parallel –j option, make behaves “serially”
> regardless of the number of processors.  

As described in the manual, without any -j flag make will build one
target at a time and wait for the previous target to complete before
proceeding to the next one.

If that's what you mean by "work", then yes, it will work.






reply via email to

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