Follow-up Comment #3, bug #19108 (project make): I think I'm seeing some symptoms that are essentially the same bug. I'm using make 3.80.
I have a rule that generates N targets from some dependencies using a set of commands, setup just like the original poster. If I run "make", everything is fine; the commands are run once, and make knows that all the N targets have been updated just fine. However, if I run "make -j 2", make spawns off two copies of the commands, presumably because when it's attempting to build each of the N targets, it doesn't check the "make_also" to see if some other target of this rule is already being built. Once a target has finished building, it marks all the "make_also" as being built, and so doesn't spawn the commands again for the other N-2 targets. Probably, the original reporter's problem is also a lack of checking make_also, but in this case, a lack of checking the dependencies rather than the build-in-progress value of the make_also targets. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?19108> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make