summaryrefslogtreecommitdiffstats
path: root/src/kmk/subproc.bat
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/kmk/subproc.bat24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/kmk/subproc.bat b/src/kmk/subproc.bat
new file mode 100644
index 0000000..685ed9d
--- /dev/null
+++ b/src/kmk/subproc.bat
@@ -0,0 +1,24 @@
+@echo off
+rem Copyright (C) 1996-2016 Free Software Foundation, Inc.
+rem This file is part of GNU Make.
+rem
+rem GNU Make is free software; you can redistribute it and/or modify it under
+rem the terms of the GNU General Public License as published by the Free
+rem Software Foundation; either version 3 of the License, or (at your option)
+rem any later version.
+rem
+rem GNU Make is distributed in the hope that it will be useful, but WITHOUT
+rem ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+rem FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for.
+rem more details.
+rem
+rem You should have received a copy of the GNU General Public License along
+rem with this program. If not, see <http://www.gnu.org/licenses/>.
+
+cd w32\subproc
+set MAKE=%2
+set MAKEFILE=%1
+if x%2 == x set MAKE=nmake
+%MAKE% /f %MAKEFILE%
+if ERRORLEVEL 1 exit /B
+cd ..\..