make: Canceling Rules
1
1 10.5.6 Canceling Implicit Rules
1 -------------------------------
1
1 You can override a built-in implicit rule (or one you have defined
1 yourself) by defining a new pattern rule with the same target and
1 prerequisites, but a different recipe. When the new rule is defined,
1 the built-in one is replaced. The new rule's position in the sequence
1 of implicit rules is determined by where you write the new rule.
1
1 You can cancel a built-in implicit rule by defining a pattern rule
1 with the same target and prerequisites, but no recipe. For example, the
1 following would cancel the rule that runs the assembler:
1
1 %.o : %.s
1