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: Mark Galeck (CW)
Subject: RE: does make behave serially when serially invoked
Date: Fri, 19 Feb 2010 15:58:21 -0800

>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.


Well, what I meant was that this makefile works as intended - the intended 
result being, that all the .o files are listed in the file srcs.    

> OBJECTS = <listed here are thousands of .o file names>
> 
> all: $(OBJECTS)
> 
> %.o: %.c
>                 echo $< >> srcs



The reason that I was not sure, even though I read the same thing you read in 
the manual, is that I do see sometimes a few file names missing.  This is of 
course on Windows, but I am not sure if that is related - if you, as you say 
make does, finish one append to srcs before you attempt another, you should be 
fine here, I don't expect Windows would have a bug where you could not serially 
do many >> srcs commands.  

Mark





reply via email to

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