2006-07-20 23:24:28 +00:00
|
|
|
yacc = simple {
|
|
|
|
class = "yacc",
|
|
|
|
outputs = {"%U%/%I%.c"},
|
|
|
|
|
|
|
|
command = {
|
2006-10-15 00:28:12 +00:00
|
|
|
"yacc -t -b %out[1]:dirname%/y -d %in%",
|
|
|
|
"mv %out[1]:dirname%/y.tab.c %out[1]%"
|
2006-07-20 23:24:28 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
flex = simple {
|
|
|
|
class = "flex",
|
|
|
|
outputs = {"%U%/%I%.c"},
|
|
|
|
|
|
|
|
command = {
|
|
|
|
"flex -s -t %in% > %out%"
|
|
|
|
}
|
|
|
|
}
|