My home system is apparently slow enough that the parallel mkdir and compilation-with-output-in-that-dir work out safely. On the cluster, this leads to build failures. Use gmake feature to add order-only dependencies to all the object files. (See https://www.gnu.org/software/make/manual/html_node/Prerequisite-Types.html)