3 ms·
I wouldn’t soon pick make for such a job, but I think idiomatic (¿GNU?) make would be abc = a b c .PHONY: run $(abc) run : $(abc) $(abc) :
by Someone 6y ago
I wouldn’t soon pick make for such a job, but I think idiomatic (¿GNU?) make would be
abc = a b c
.PHONY: run $(abc)
run : $(abc)
$(abc) :
some-command $@
This allows running the three commands in parallel, too:
make -j run