makefile - GNU make: variables in pattern rules -


how variables expanded in pattern rules , static pattern rules? patterns matched using global variable values, recipes can use target specific , pattern specific variable values. did right?

thanks.

i think the manual quite clear on this; @ least target-specific variables, way understand it, works same pattern-specific variables. states (on target-specific variable values):

these values available within context of target's recipe

so not used in patterns, in recipes.


Comments