From 4f8acca153743e3ec665b2d527f8138a2aaf5e18 Mon Sep 17 00:00:00 2001 From: unknown-v <52547845+unknown-v@users.noreply.github.com> Date: Sat, 17 Aug 2019 15:31:44 +0200 Subject: [PATCH] bat files: v.c to v_win.c --- make.bat | 2 +- make_msvc.bat | 2 +- make_tests.bat | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/make.bat b/make.bat index 28f7cf429d..ed5dfd212e 100644 --- a/make.bat +++ b/make.bat @@ -2,4 +2,4 @@ curl -O https://raw.githubusercontent.com/vlang/vc/master/v_win.c gcc -std=gnu11 -DUNICODE -D_UNICODE -w -o v2.exe v_win.c v2.exe -o v.exe compiler del v2.exe -del v.c +del v_win.c diff --git a/make_msvc.bat b/make_msvc.bat index 56fdb120a8..3fa2b65c14 100644 --- a/make_msvc.bat +++ b/make_msvc.bat @@ -20,7 +20,7 @@ echo fetch v_win.c curl -O https://raw.githubusercontent.com/vlang/vc/master/v_win.c echo build v_win.c with msvc -cl.exe /w /volatile:ms /D_UNICODE /DUNICODE /Fo.v.c.obj /O2 /MD v_win.c user32.lib kernel32.lib advapi32.lib shell32.lib /link /NOLOGO /OUT:v2.exe /INCREMENTAL:NO +cl.exe /w /volatile:ms /D_UNICODE /DUNICODE /Fo.v_win.c.obj /O2 /MD v_win.c user32.lib kernel32.lib advapi32.lib shell32.lib /link /NOLOGO /OUT:v2.exe /INCREMENTAL:NO if %ERRORLEVEL% GEQ 1 ( goto :compileerror diff --git a/make_tests.bat b/make_tests.bat index 9d87861d19..7d4b63c5ae 100644 --- a/make_tests.bat +++ b/make_tests.bat @@ -5,13 +5,13 @@ del v.exe del v_win.c del v2.exe -echo fetch v.c +echo fetch v_win.c curl -O https://raw.githubusercontent.com/vlang/vc/master/v_win.c if %ERRORLEVEL% NEQ 0 goto :fail echo build vc using gcc gcc -std=gnu11 -DUNICODE -D_UNICODE -w -o vc.exe v_win.c -del v.c +del v_win.c if %ERRORLEVEL% NEQ 0 goto :fail echo build v using vc