From: Sebastien Bourdeauducq Date: Tue, 6 Mar 2012 14:51:09 +0000 (+0100) Subject: vpi: install target X-Git-Tag: 24jan2021_ls180~2099^2~992 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0a23cadd38c831eff5e89718f2a7b15f20b5334d;p=litex.git vpi: install target --- diff --git a/vpi/Makefile b/vpi/Makefile index b939822c..ba6abe9f 100644 --- a/vpi/Makefile +++ b/vpi/Makefile @@ -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