mirror of
https://git.savannah.gnu.org/git/make.git
synced 2024-12-27 06:27:51 +00:00
5036dd120a
* subproc.bat: Exit when sub-make invocation fails. Copyright-paperwork-exempt: yes
24 lines
908 B
Batchfile
24 lines
908 B
Batchfile
@echo off
|
|
rem Copyright (C) 1996-2014 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 ..\..
|