yacc, ncgg; platform ncg builds now.
This commit is contained in:
@@ -20,4 +20,25 @@ definerule("yacc",
|
||||
end
|
||||
)
|
||||
|
||||
definerule("flex",
|
||||
{
|
||||
srcs = { type="targets" },
|
||||
commands = {
|
||||
type="strings",
|
||||
default={
|
||||
"flex -s -t %{ins} > %{outs[1]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
function (e)
|
||||
return normalrule {
|
||||
name = e.name,
|
||||
cwd = e.cwd,
|
||||
ins = e.srcs,
|
||||
outleaves = { "lex.yy.c" },
|
||||
label = e.label,
|
||||
commands = e.commands
|
||||
}
|
||||
end
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user