Static Pattern (GNU make)

From Get docs
Make/docs/latest/Static-Pattern

Next: Double-Colon, Previous: Multiple Rules, Up: Rules   [Contents][Index]



4.12 Static Pattern Rules

Static pattern rules are rules which specify multiple targets and construct the prerequisite names for each target based on the target name. They are more general than ordinary rules with multiple targets because the targets do not have to have identical prerequisites. Their prerequisites must be analogous, but not necessarily identical.

Static Usage    The syntax of static pattern rules.
Static versus Implicit    When are they better than implicit rules?