compiler: add makefile for build v

pull/436/head
chai2010 2019-06-23 10:34:41 +08:00 committed by Alex Medvednikov
parent f1cd3580eb
commit 99c781bf07
1 changed files with 17 additions and 0 deletions

17
compiler/Makefile 100644
View File

@ -0,0 +1,17 @@
# Copyright (c) 2019 Alexander Medvednikov. All rights reserved.
# Use of this source code is governed by an MIT license
# that can be found in the LICENSE file.
all: v vc
v: vc
./vc -o v .
vc: v.c
cc -w -o vc v.c
v.c:
wget https://vlang.io/v.c
clean:
-rm v vc v.c