1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/compiler/Makefile
whoami 302645cba0 Makefile curl
`curl` should be used in Makefile as more common and lightweight
2019-06-26 14:54:44 +02:00

15 lines
191 B
Makefile

all: v
v: v.c
cc -std=gnu11 -w -o v v.c
./v -o v .
v.c:
curl -Os https://raw.githubusercontent.com/vlang/vc/master/v.c
test: v
find .. -name '*_test.v' | xargs ./v {}
clean:
-rm v.c