I have a third party makefile, and I\'d like one of the targets (T1) to not be built until another, custom target (T2) is built first. Normally, this would be accomplished
Could you just call Make in your build script with the two targets in the proper order, e.g.
make T2 T1
That way you don't need to make any modifications to T1.
Have T2 as an order-only prerequisite:
T1: x y z | T2
$(MAKE) -j $^;
# Make will run the T2 rule before this one, but T2 will not appear in $^