1 2 3 4 5 6 7 8 9
all: parser.rb debug: parser.rb setdebug parser.rb: grammar.ry racc -E -oparser.rb grammar.ry setdebug: perl -pi -e 's{\@yydebug =.*$$}{\@yydebug = true}' parser.rb