Skip to content

Commit

Permalink
compiler: add makefile for build v
Browse files Browse the repository at this point in the history
  • Loading branch information
chai2010 authored and medvednikov committed Jun 23, 2019
1 parent f1cd358 commit 99c781b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions compiler/Makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 99c781b

Please sign in to comment.