1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/compiler/Makefile
Alexander Medvednikov 5b5c6b7918 fix make clean
2019-06-26 18:12:30 +02:00

15 lines
196 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 -f v.c v