New make --shuffle mode
I don't know a lot of makefiles, but based on what was written in the article, I was just trying to design a makefile which enforces goal ordering using the "correct" way, i.e dependencies. Such a makefile should naturally be unaffected by --shuffle and by parallel execution.Do I miss something or is this impossible short of duplicating the goals?E.g., suppose you have goals a, b and c, which are independent and you want to define another goal d which runs first a, then b then c.My first idea was to define additional goals to capture the dependency structure, like this:d: x2 cx2: x1 bx1: aBut then nothing is stopping the shuffler from running c, b, a, x1, x2, d.The only solution I see would be to copy the shell commands of b and c into new goals:d: xcxc: xb; xb: a; Which seems really unsatisfying.Is there a better way?