Menu ▾ ▴

SyntaxStmtCreateFile

Brad Lanam

Wiki Home
Syntax

Syntax: .create_file

.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.

Attributes
Examples
.create_file grammar.c grammar.h {
  .source grammar.y;
  .command bison -o grammar.c --defines=grammar.h grammar.y;
}

Wiki Home
Syntax


Related

Wiki: Home
Wiki: Syntax
Wiki: SyntaxAttrCommand
Wiki: SyntaxAttrSource