2018-11-30 22:14:43 -06:00
|
|
|
|
|
|
|
GENFILES += frontends/verilog/verilog_parser.tab.cc
|
2019-05-23 17:03:08 -05:00
|
|
|
GENFILES += frontends/verilog/verilog_parser.tab.hh
|
2018-11-30 22:14:43 -06:00
|
|
|
GENFILES += frontends/verilog/verilog_parser.output
|
|
|
|
GENFILES += frontends/verilog/verilog_lexer.cc
|
|
|
|
|
|
|
|
frontends/verilog/verilog_parser.tab.cc: frontends/verilog/verilog_parser.y
|
|
|
|
$(Q) mkdir -p $(dir $@)
|
2019-05-23 17:03:08 -05:00
|
|
|
$(P) $(BISON) -o $@ -d -r all -b frontends/verilog/verilog_parser $<
|
2018-11-30 22:14:43 -06:00
|
|
|
|
2019-05-23 17:03:08 -05:00
|
|
|
frontends/verilog/verilog_parser.tab.hh: frontends/verilog/verilog_parser.tab.cc
|
2018-11-30 22:14:43 -06:00
|
|
|
|
|
|
|
frontends/verilog/verilog_lexer.cc: frontends/verilog/verilog_lexer.l
|
|
|
|
$(Q) mkdir -p $(dir $@)
|
|
|
|
$(P) flex -o frontends/verilog/verilog_lexer.cc $<
|
|
|
|
|
2019-05-23 18:55:49 -05:00
|
|
|
frontends/verilog/verilog_parser.tab.o: CXXFLAGS += -DYYMAXDEPTH=10000000
|
|
|
|
|
2018-11-30 22:14:43 -06:00
|
|
|
OBJS += frontends/verilog/verilog_parser.tab.o
|
|
|
|
OBJS += frontends/verilog/verilog_lexer.o
|
|
|
|
OBJS += frontends/verilog/preproc.o
|
|
|
|
OBJS += frontends/verilog/verilog_frontend.o
|
|
|
|
OBJS += frontends/verilog/const2ast.o
|
|
|
|
|