I am using make 3.81 and I am using the following make rule to put object
files into an archive:

$(ARCHIVE) : $(CXX_OBJS)
   echo $?; \
   cd $(DEST); \
   $(AR) $(ARFLAGS) $(ARCHIVE) $?

where archive is a ".a" file and CXX_OBJS are my ".o" files.

If I am doing make, the echo and the the ar command will get the complete
list of .o files which have changed and update the archive.


If I do a parallel make (-j2) the list of files is empty.

What am I doing wrong to getting the list of changed files to update the
archives in parallel mode?

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

Reply via email to