build_vpi_xl.mak
来自「pli_handbook_examples_pc verilog hdl 与C」· MAK 代码 · 共 21 行
MAK
21 行
#
# sample NMAKE makefile to make libvpi.dll with VisualC++ on Windows
# see windows.txt for more details.
#
SOURCES = \
sci_alu_combinational_vpi.c \
# sci_alu_sequential_vpi.c \
# sci_alu_synchronized_vpi.c \
# sci_alu_latched_vpi.c \
vpi_user_XL.c
OBJS = $(SOURCES:.c=.obj)
CFLAGS = -DMSC -DWIN32 -I$(CDS_INST_DIR)/tools/verilog/include -MD -O2
.c.obj:
$(CC) $(CFLAGS) -c $<
libvpi.dll: $(OBJS)
link -dll /out:$@ $(OBJS) $(CDS_INST_DIR)/tools/verilog/lib/verilog.lib
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?