vpi: support extra include directories

This commit is contained in:
Sebastien Bourdeauducq 2012-03-08 18:14:40 +01:00
parent bbaadebf68
commit 84aa703447
1 changed files with 2 additions and 1 deletions

View File

@ -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