vpi: support extra include directories
This commit is contained in:
parent
bbaadebf68
commit
84aa703447
|
@ -1,12 +1,13 @@
|
||||||
CC=clang
|
CC=clang
|
||||||
INSTDIR=/usr/lib/ivl
|
INSTDIR=/usr/lib/ivl
|
||||||
|
INCDIRS=
|
||||||
|
|
||||||
OBJ=ipc.o main.o
|
OBJ=ipc.o main.o
|
||||||
|
|
||||||
all: migensim.vpi
|
all: migensim.vpi
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
$(CC) -fPIC -Wall -O2 -c -o $@ $<
|
$(CC) -fPIC -Wall -O2 -c $(INCDIRS) -o $@ $<
|
||||||
|
|
||||||
migensim.vpi: $(OBJ)
|
migensim.vpi: $(OBJ)
|
||||||
$(CC) -shared -o $@ $(OBJ) -lvpi
|
$(CC) -shared -o $@ $(OBJ) -lvpi
|
||||||
|
|
Loading…
Reference in New Issue