.executable defines an executable to be built. This is not an imperative statement. The build is started with the .build or .auto_build statement.
.executable helloworld {
.source helloworld.c;
}
.executable helloworld {
.source 'helloworld.c';
}
.executable helloworld {
.source 'helloworld.c';
.compiler_flags '-g';
}
.executable helloworld {
.source 'helloworld.c';
.libraries '-lm';
}
.executable helloworld {
.source hello.c world.c;
}
Wiki: Home
Wiki: Syntax
Wiki: SyntaxAttrCompileFlag
Wiki: SyntaxAttrLibraries
Wiki: SyntaxAttrLinkFlag
Wiki: SyntaxAttrSource
Wiki: SyntaxStmtBuild