Logo Search packages:      
Sourcecode: jmk version File versions  Download package

boolean edu::neu::ccs::jmk::Make::maybeAddPattern ( String  target,
String[]  prerequisites,
Command[]  commands,
int  lineNumber 
) [inline, private]

Adds a pattern if either the target or a prerequisite contains the pattern wild card, the percent sign.

Definition at line 91 of file Make.java.

References isPattern().

Referenced by addRule().

    if (isPattern(target, prerequisites)) {
      patterns.addElement(new Pattern(target, prerequisites,
                              commands, lineNumber));
      return true;
      return false;

Generated by  Doxygen 1.6.0   Back to index