mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
vpi: install target
This commit is contained in:
parent
9da512dbf5
commit
0a23cadd38
1 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
|||
CC=clang
|
||||
INSTDIR=/usr/lib/ivl
|
||||
|
||||
OBJ=ipc.o main.o
|
||||
|
||||
all: migensim.vpi
|
||||
|
@ -9,8 +11,11 @@ all: migensim.vpi
|
|||
migensim.vpi: $(OBJ)
|
||||
$(CC) -shared -o $@ $(OBJ) -lvpi
|
||||
|
||||
install: migensim.vpi
|
||||
install -m755 -t $(INSTDIR) $^
|
||||
|
||||
clean:
|
||||
rm -f $(OBJ)
|
||||
rm -f migensim.vpi
|
||||
|
||||
.PHONY: clean
|
||||
.PHONY: install clean
|
||||
|
|
Loading…
Reference in a new issue