From: Sebastien Bourdeauducq Date: Thu, 8 Mar 2012 17:14:40 +0000 (+0100) Subject: vpi: support extra include directories X-Git-Tag: 24jan2021_ls180~2099^2~980 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=84aa70344776694098aa3bbd4eb476718223d3dc;p=litex.git vpi: support extra include directories --- diff --git a/vpi/Makefile b/vpi/Makefile index ba6abe9f..9150f253 100644 --- a/vpi/Makefile +++ b/vpi/Makefile @@ -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