makefile: use C 99 standard

pull/2250/head
Alexander Medvednikov 2019-10-06 17:35:03 +03:00
parent 30e7cd8ed5
commit fdef2b0f8b
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ all:
rm -rf vc/ rm -rf vc/
git clone --depth 1 --quiet https://github.com/vlang/vc git clone --depth 1 --quiet https://github.com/vlang/vc
ifdef WIN32 ifdef WIN32
$(CC) -std=gnu11 -w -o v0.exe vc/v_win.c $(CC) -std=c99 -w -o v0.exe vc/v_win.c
./v0.exe -o v.exe compiler ./v0.exe -o v.exe compiler
rm -f v0.exe rm -f v0.exe
else else