/** templates used to generate make-compatible dependencies */ | |
group depend; | |
/** Generate "f : x, y, z" dependencies for input | |
* dependencies and generated files. in and out | |
* are File objects. For example, you can say | |
* <f.canonicalPath> | |
*/ | |
dependencies(grammarFileName,in,out) ::= << | |
<if(in)><grammarFileName>: <in; separator=", "><endif> | |
<out:{f | <f> : <grammarFileName>}; separator="\n"> | |
>> |