Expressing order dependencies between PHONY targets is
unnatural in GNU Make. This patch introduces a hack in the
form of the SOFT_DEP_RULE macro which generates dependencies
between phony targets only if the phony targets would be
built anyway.
As a side effect, messing up the order of targets when
invoking 'make' is accepted:
Expressing order dependencies between PHONY targets is unnatural in GNU Make. This patch introduces a hack in the form of the SOFT_DEP_RULE macro which generates dependencies between phony targets only if the phony targets would be built anyway.
As a side effect, messing up the order of targets when invoking 'make' is accepted: