1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

v symlink

This commit is contained in:
Alexander Medvednikov
2019-08-27 19:35:48 +03:00
parent 57ab8546fe
commit e2c7d3b2d9
3 changed files with 14 additions and 6 deletions

View File

@@ -1,7 +1,6 @@
CC ?= cc
PREFIX ?= /usr/local
all:
all:
rm -rf vc/
git clone --depth 1 --quiet https://github.com/vlang/vc
${CC} -std=gnu11 -w -o v vc/v.c -lm
@@ -9,5 +8,3 @@ all:
rm -rf vc/
@echo "V has been successfully built"
symlink: v
ln -sf `pwd`/v ${PREFIX}/bin/v