![]() |
OpenMake Meister |
The file matching is done as the directory structure is traversed. The first directory in the pattern is matched against the first directory in the fully qualified file name, then the second, and so on until the file itself is matched.
For example, consider a dependency abc/def/xyz.java and a pattern ab?/*/*.java. The first directories ("abc" and "ab?") match. The second directories ("def" and "*") also match. The file xyz.java also matches to *.java, hence this pattern matches.
Table PB-5 Wildcard Match Patterns
Pattern |
Match |
Ab?/*/*.java |
abc/def/xyz.java |
?bc/d?/*.java |
abc/def/xyz.java |
*/def/*.* |
abc/def/abc.ico |