From: K.Kosako Date: Thu, 2 Aug 2018 07:40:25 +0000 (+0900) Subject: add make_win.bat X-Git-Tag: v6.9.0~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a99376f370acca8070877eb02fecde13770b974;p=onig add make_win.bat --- diff --git a/README.md b/README.md index 772533d..7f89672 100644 --- a/README.md +++ b/README.md @@ -158,7 +158,7 @@ Install ### Case 2: Windows 64/32bit platform (Visual Studio) - execute make_win64 or make_win32 + Execute make_win.bat onig_s.lib: static link library onig.dll: dynamic link library @@ -287,5 +287,4 @@ Source Files |utf32_le.c |UTF-32LE encoding | |unicode.c |common codes of Unicode encoding | |unicode_fold_data.c|Unicode folding data | -|win32/Makefile |Makefile for Win32 (VC++) | -|win32/config.h |config.h for Win32 | +|windows/testc.c |Test program for Windowns (VC++) | diff --git a/make_win.bat b/make_win.bat new file mode 100644 index 0000000..470ef11 --- /dev/null +++ b/make_win.bat @@ -0,0 +1,5 @@ +SET ONIG_DIR=%~dp0\src +set THIS_DIR=%~dp0 +set BUILD_DIR=%cd% +copy %ONIG_DIR%\config.h.windows.in %BUILD_DIR%\config.h +nmake -f %ONIG_DIR%\Makefile.windows %1