1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/compiler/Makefile
Alexander Medvednikov 76bf732e63 builtin: public/private functions, remove lots of duplicate functionality
(string.eq, compare_strings, etc)
2019-06-27 13:29:31 +02:00

17 lines
297 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' -print0 | xargs -0 -n1 ./v
echo "Building V examples..."
find ../examples -name '*.v' -print0 | xargs -0 -n1 ./v
clean:
-rm -f v.c v