diff --git a/compiler/Makefile b/compiler/Makefile new file mode 100644 index 0000000000..d4080c3e39 --- /dev/null +++ b/compiler/Makefile @@ -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