Follow-up Comment #2, bug #40225 (project make): A non-parallel build is actually fully deterministic for a given makefile. Make (I believe this is specified by POSIX) will always try to build the first prerequisite first, then the second, etc. Of course there are ways to get non-determinism: for example IIRC the $(wildcard ...) function returns files in "directory order", unsorted, which is non-deterministic.
I'm not saying Frank's idea would not work but I think it might be slightly hairier than described here. Regarding vmsjobs.c: that's OK because vmsjobs.c is actually not compiled separately. It's #included into jobs.c, so it has access to all jobs.c's static functions etc. This is not orthodox, but I really needed to split out the VMS support as it was hard to follow job.c (it still is, but it was worse before). _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?40225> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make