diff --git a/.gitignore b/.gitignore index fb3ac3fec3..e6cce5952f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,8 @@ /v /vprod /v.c +/v.*.c +/v.c.out /v.exe *.exe *.o diff --git a/Makefile b/Makefile index 4ba4044d59..2ba867e394 100644 --- a/Makefile +++ b/Makefile @@ -6,10 +6,10 @@ VC ?= 0.1.17 all: v $(info V has been successfully built) -v: v.c.out +v: v.c.out compiler/*.v vlib/**/*.v ./v.c.out -o v compiler -v-release: v.c +v-release: ./v -cflags '${CFLAGS}' -o v compiler strip v @@ -17,7 +17,7 @@ v.c.out: v.${VC}.c ${CC} -std=gnu11 -w -o v.c.out v.${VC}.c -lm v.${VC}.c: - curl -o v.${VC}.c -Ls https://github.com/vlang/vc/raw/${VC}/v.c + curl -o v.${VC}.c -LsSf https://github.com/vlang/vc/raw/${VC}/v.c test: v ./v -prod -o vprod compiler # Test prod build diff --git a/examples/vweb/.gitignore b/examples/vweb/.gitignore new file mode 100644 index 0000000000..1c9390a1d3 --- /dev/null +++ b/examples/vweb/.gitignore @@ -0,0 +1 @@ +test_app