]> git.proxmox.com Git - mirror_edk2.git/blame - BaseTools/Source/C/Makefiles/NmakeSubdirs.bat
Sync BaseTool trunk (version r2649) into EDKII BaseTools.
[mirror_edk2.git] / BaseTools / Source / C / Makefiles / NmakeSubdirs.bat
CommitLineData
52302d4d
LG
1@REM ## @file\r
2@REM #\r
40d841f6
LG
3@REM # Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
4@REM # This program and the accompanying materials\r
52302d4d
LG
5@REM # are licensed and made available under the terms and conditions of the BSD License\r
6@REM # which accompanies this distribution. The full text of the license may be found at\r
7@REM # http://opensource.org/licenses/bsd-license.php\r
8@REM #\r
9@REM # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
f51461c8 10@REM # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
52302d4d
LG
11\r
12\r
30fdf114
LG
13@echo off\r
14setlocal\r
15SET NMAKE_COMMAND=%1\r
16SHIFT\r
17\r
18:loop\r
19if "%1"=="" goto success\r
20\r
21ECHO Building %1\r
22pushd %1\r
23nmake %NMAKE_COMMAND%\r
24if ERRORLEVEL 1 goto error\r
25ECHO %1 built successfully (%NMAKE_COMMAND%)\r
26ECHO.\r
27shift\r
28popd\r
29goto loop\r
30\r
31:success\r
32goto exit\r
33\r
34:error\r
35popd\r
36ENDLOCAL\r
37ECHO Error while making %1!\r
38VERIFY OTHER 2>NUL\r
39\r
40:exit\r