cwvh/pbsmake — Issue #12: pattern substitution can be too greedy
Author: cwvh
Created: 2012-01-04 20:14:53+00:00
State: open

From the lack of order on the `target` dictionary and greediness of the pattern substitution, the following makefile:

CTX_%:

%

invoked with buildtarget `CTX_Finalizer` can undesirably match the second target pattern. Minimal wildcard substitution should win. I think this always works…