>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



_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to