summaryrefslogtreecommitdiff
path: root/make_win64.bat
diff options
context:
space:
mode:
Diffstat (limited to 'make_win64.bat')
-rw-r--r--make_win64.bat8
1 files changed, 5 insertions, 3 deletions
diff --git a/make_win64.bat b/make_win64.bat
index b8ca930..ee0a049 100644
--- a/make_win64.bat
+++ b/make_win64.bat
@@ -1,3 +1,5 @@
-cd src
-copy config.h.win64 config.h
-nmake -f Makefile.windows
+SET ONIG_DIR=%~dp0\src
+set THIS_DIR=%~dp0
+set BUILD_DIR=%cd%
+copy %ONIG_DIR%\config.h.win64 %BUILD_DIR%\config.h
+nmake -f %ONIG_DIR%\Makefile.windows %1