• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/** templates used to generate make-compatible dependencies */
2group depend;
3
4/** Generate "f : x, y, z" dependencies for input
5 *  dependencies and generated files. in and out
6 *  are File objects.  For example, you can say
7 *  <f.canonicalPath>
8 */
9dependencies(grammarFileName,in,out) ::= <<
10<if(in)><grammarFileName>: <in; separator=", "><endif>
11<out:{f | <f> : <grammarFileName>}; separator="\n">
12>>
13