1
0
mirror of https://github.com/myhdl/myhdl.git synced 2025-01-24 21:52:56 +08:00
myhdl/cosimulation/cver/makefile.lnx

22 lines
512 B
Plaintext
Raw Normal View History

2004-02-26 23:41:15 +00:00
# could add to CFLAGS to turn on warnings if you are using gcc
WARNS=-Wall
2004-02-27 20:47:30 +00:00
# change this path to point to the pli include files directory for cver
2005-10-03 15:49:57 +00:00
INCS=-I$(HOME)/gplcver-2.11a.src/pli_incs
2004-02-26 23:41:15 +00:00
# maybe want -O<something> and/or -g
CFLAGS= -fPIC -Wall -g $(INCS)
LFLAGS= -G -shared -export-dynamic
# change to your compiler
CC=gcc
2004-03-19 12:15:36 +00:00
all: myhdl_vpi.so
2004-02-26 23:41:15 +00:00
2004-03-19 12:15:36 +00:00
myhdl_vpi.o: myhdl_vpi.c
$(CC) $(CFLAGS) -c myhdl_vpi.c
2004-02-26 23:41:15 +00:00
# make rules for dynamic libaries
2004-03-19 12:15:36 +00:00
myhdl_vpi.so: myhdl_vpi.o
$(LD) $(LFLAGS) myhdl_vpi.o -o myhdl_vpi.so
2004-02-26 23:41:15 +00:00