2013-01-05 04:13:26 -06:00
|
|
|
|
|
|
|
GENFILES += frontends/ilang/parser.tab.cc
|
|
|
|
GENFILES += frontends/ilang/parser.tab.h
|
|
|
|
GENFILES += frontends/ilang/parser.output
|
|
|
|
GENFILES += frontends/ilang/lexer.cc
|
|
|
|
|
2014-07-22 13:18:05 -05:00
|
|
|
frontends/ilang/parser.tab.cc: frontends/ilang/parser.y
|
2014-07-24 10:15:01 -05:00
|
|
|
$(P) bison -d -r all -b frontends/ilang/parser frontends/ilang/parser.y
|
|
|
|
$(Q) mv frontends/ilang/parser.tab.c frontends/ilang/parser.tab.cc
|
2013-01-05 04:13:26 -06:00
|
|
|
|
2014-07-22 13:18:05 -05:00
|
|
|
frontends/ilang/parser.tab.h: frontends/ilang/parser.tab.cc
|
|
|
|
|
2013-01-05 04:13:26 -06:00
|
|
|
frontends/ilang/lexer.cc: frontends/ilang/lexer.l
|
2014-07-24 10:15:01 -05:00
|
|
|
$(P) flex -o frontends/ilang/lexer.cc frontends/ilang/lexer.l
|
2013-01-05 04:13:26 -06:00
|
|
|
|
|
|
|
OBJS += frontends/ilang/parser.tab.o frontends/ilang/lexer.o
|
|
|
|
OBJS += frontends/ilang/ilang_frontend.o
|
|
|
|
|