]> granicus.if.org Git - onig/commitdiff
add make_win.bat
authorK.Kosako <kosako@sofnec.co.jp>
Thu, 2 Aug 2018 07:40:25 +0000 (16:40 +0900)
committerK.Kosako <kosako@sofnec.co.jp>
Thu, 2 Aug 2018 07:40:25 +0000 (16:40 +0900)
README.md
make_win.bat [new file with mode: 0644]

index 772533d61f62f602965d9315513ed07349928b73..7f89672b2715f991aa9c2625081980eaed04792d 100644 (file)
--- 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 (file)
index 0000000..470ef11
--- /dev/null
@@ -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