.create_file creates a file or files given a list of commands to run.
.create_file <file-name> [<file-name> ...] { <attribute-list> };
The .source attribute is used to specify the dependency for the files to be created.
.create_file grammar.c grammar.h {
.source grammar.y;
.command bison -o grammar.c --defines=grammar.h grammar.y;
}
Wiki: Home
Wiki: Syntax
Wiki: SyntaxAttrCommand
Wiki: SyntaxAttrSource