mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
vpi: support extra include directories
This commit is contained in:
parent
bbaadebf68
commit
84aa703447
1 changed files with 2 additions and 1 deletions
|
@ -1,12 +1,13 @@
|
|||
CC=clang
|
||||
INSTDIR=/usr/lib/ivl
|
||||
INCDIRS=
|
||||
|
||||
OBJ=ipc.o main.o
|
||||
|
||||
all: migensim.vpi
|
||||
|
||||
%.o: %.c
|
||||
$(CC) -fPIC -Wall -O2 -c -o $@ $<
|
||||
$(CC) -fPIC -Wall -O2 -c $(INCDIRS) -o $@ $<
|
||||
|
||||
migensim.vpi: $(OBJ)
|
||||
$(CC) -shared -o $@ $(OBJ) -lvpi
|
||||
|
|
Loading…
Reference in a new issue