A/a A/b A/c ... A/n:
./do-something.sh # creates all n-files in one run
And:
all: A/a A/b A/c ... A/n
plays nice in a single threaded make
, but when I run make -j 16
, for example, sixteen independent runs of ./do-something.sh
get spawned.
Is there a makish way to inhibit that, and tell make that the rule should be run one time?