source: vis_dev/vl2mv-2.3/src/parser/parser.make @ 104

Last change on this file since 104 was 18, checked in by cecile, 13 years ago

vl2mv added

File size: 1.1 KB
Line 
1CSRC += main.c dataflow.c util.c vl_clock.c vl_copy.c vl_create.c \
2        vl_edgedetector.c vl_flowgraph.c vl_latch.c vl_mux.c \
3        vl_nonblock.c vl_reset.c vl_resolution.c vl_traverse.c vl_vardecl.c \
4        vl_write.c vl_write_util.c
5HEADERS += vl_copy.h vl_create.h vl_defs.h vl_edgedetector.h vl_fg_defs.h \
6        vl_fg_types.h vl_flowgraph.h vl_mux.h vl_nonblock.h \
7        vlr_int.h vl_traverse.h vl_types.h vl_vardecl.h vl_write.h \
8        vl_write_util.h dataflow.h verilog.h
9LEXSRC += verilog.l
10YACCSRC += verilog.y
11GENERATEDCSRC += verilog_yacc.c verilog_lex.c
12
13$(objectdir)/verilog_yacc.c $(objectdir)/verilog_yacc.h : verilog.y verilog_lex.c
14        $(YACC) -d -t -o $(objectdir)/verilog_yacc.c $<
15#       -@mv y.tab.c $(objectdir)/verilog_yacc.c
16#       -@mv y.tab.h $(objectdir)/verilog_yacc.h
17        -@chmod 0644 $(objectdir)/verilog_yacc.c $(objectdir)/verilog_yacc.h
18
19$(objectdir)/verilog_lex.c: verilog.l
20        $(LEX) -o$(objectdir)/verilog_lex.c $<
21        -@chmod 0644 $(objectdir)/verilog_lex.c
22
23$(objectdir)/verilog_yacc.o: $(objectdir)/verilog_yacc.c
24
25$(objectdir)/verilog_lex.o: $(objectdir)/verilog_lex.c
26
27util.o : util.c $(objectdir)/verilog_yacc.h
28
29
30DEPENDENCYFILES = $(CSRC)
Note: See TracBrowser for help on using the repository browser.