I have a makefile that has a ton of subsystem and am able to build it with the -j flag so that it goes much faster and builds the different recipes in parallel.
This seems to be working fine for now but am not sure if I am missing some needed dependencies and am just "getting lucky" with the order that these are being built.
Is there a way where I can randomize the order recipes are run while still following all the dependencies that I have defined?
GNU makefollows all dependencies strictly. It will not build something if all its dependencies are not up to date. - igagisCC,CXX, etc with something like:CC:=sleep $(bc -l <<< "scale=4 ; ${RANDOM}/3276") && gcc, which will randomize build order a bit - blackghostmakefileproperly. - igagis