mirror of https://github.com/YosysHQ/yosys.git
20 lines
713 B
Makefile
20 lines
713 B
Makefile
|
|
GENFILES += frontends/verilog/parser.tab.cc
|
|
GENFILES += frontends/verilog/parser.tab.h
|
|
GENFILES += frontends/verilog/parser.output
|
|
GENFILES += frontends/verilog/lexer.cc
|
|
|
|
frontends/verilog/parser.tab.cc frontends/verilog/parser.tab.h: frontends/verilog/parser.y
|
|
bison -d -r all -b frontends/verilog/parser frontends/verilog/parser.y
|
|
mv frontends/verilog/parser.tab.c frontends/verilog/parser.tab.cc
|
|
|
|
frontends/verilog/lexer.cc: frontends/verilog/lexer.l
|
|
flex -o frontends/verilog/lexer.cc frontends/verilog/lexer.l
|
|
|
|
OBJS += frontends/verilog/parser.tab.o
|
|
OBJS += frontends/verilog/lexer.o
|
|
OBJS += frontends/verilog/preproc.o
|
|
OBJS += frontends/verilog/verilog_frontend.o
|
|
OBJS += frontends/verilog/const2ast.o
|
|
|