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

Subversion Repositories adv_debug_sys

[/] [adv_debug_sys/] [trunk/] [Software/] [adv_jtag_bridge/] [sim_lib/] [modelsim_linux_x86/] [Makefile] - Blame information for rev 59

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 nyawn
 
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 59 nyawn
MODEL=/opt/altera10/modelsim_ase
9 4 nyawn
 
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 59 nyawn
        $(CC) -fPIC -c -I$(MODEL)/include $(SRCDIR)jp-io-vpi.c -o jp-io-vpi.o
18 4 nyawn
        $(CC) -shared -Bsymbolic  -o jp-io-vpi.so jp-io-vpi.o -lc
19
 
20 59 nyawn
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.