mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler: add makefile for build v
This commit is contained in:
parent
f1cd3580eb
commit
99c781bf07
17
compiler/Makefile
Normal file
17
compiler/Makefile
Normal 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
|
Loading…
Reference in New Issue
Block a user