vpi: support extra include directories
This commit is contained in:
parent
bbaadebf68
commit
84aa703447
|
@ -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 New Issue