Fixed make rules for ilang parser

This commit is contained in:
Clifford Wolf 2014-07-22 20:18:05 +02:00
parent 0229d68fc9
commit d6d0e08834
1 changed files with 3 additions and 1 deletions

View File

@ -4,10 +4,12 @@ GENFILES += frontends/ilang/parser.tab.h
GENFILES += frontends/ilang/parser.output GENFILES += frontends/ilang/parser.output
GENFILES += frontends/ilang/lexer.cc GENFILES += frontends/ilang/lexer.cc
frontends/ilang/parser.tab.cc frontends/ilang/parser.tab.h: frontends/ilang/parser.y frontends/ilang/parser.tab.cc: frontends/ilang/parser.y
bison -d -r all -b frontends/ilang/parser frontends/ilang/parser.y bison -d -r all -b frontends/ilang/parser frontends/ilang/parser.y
mv frontends/ilang/parser.tab.c frontends/ilang/parser.tab.cc mv frontends/ilang/parser.tab.c frontends/ilang/parser.tab.cc
frontends/ilang/parser.tab.h: frontends/ilang/parser.tab.cc
frontends/ilang/lexer.cc: frontends/ilang/lexer.l frontends/ilang/lexer.cc: frontends/ilang/lexer.l
flex -o frontends/ilang/lexer.cc frontends/ilang/lexer.l flex -o frontends/ilang/lexer.cc frontends/ilang/lexer.l