OpenCores
URL https://opencores.org/ocsvn/or1k_soc_on_altera_embedded_dev_kit/or1k_soc_on_altera_embedded_dev_kit/trunk

Subversion Repositories or1k_soc_on_altera_embedded_dev_kit

[/] [or1k_soc_on_altera_embedded_dev_kit/] [trunk/] [soc/] [sw/] [adv_jtag_bridge/] [sim_lib/] [modelsim_linux_x86/] [Makefile] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 xianfeng
 
2
SRCDIR=../src/
3
CC = gcc
4
 
5
# The location of the ModelSim installation, used
6
# to build the C lib for VPI.  Must contain a subdir with
7
# vpi_user.h.
8
MODEL=/opt/modelsim
9
 
10
 
11
 
12
default: vpi
13
 
14
# This is for ModelSim under Linux (x86/32)
15
# If RH v7.1 or lower, add -noinhibit-exec
16
jp-io-vpi.so: $(SRCDIR)jp-io-vpi.c Makefile
17
        $(CC) -c -I$(MODEL)/modeltech/include $(SRCDIR)jp-io-vpi.c -o jp-io-vpi.o
18
        $(CC) -shared -Bsymbolic  -o jp-io-vpi.so jp-io-vpi.o -lc
19
 
20
vpi: jp-io-vpi.so Makefile

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.