]>
Commit | Line | Data |
---|---|---|
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 |
14 | setlocal\r | |
15 | SET NMAKE_COMMAND=%1\r | |
16 | SHIFT\r | |
17 | \r | |
18 | :loop\r | |
19 | if "%1"=="" goto success\r | |
20 | \r | |
21 | ECHO Building %1\r | |
22 | pushd %1\r | |
23 | nmake %NMAKE_COMMAND%\r | |
24 | if ERRORLEVEL 1 goto error\r | |
25 | ECHO %1 built successfully (%NMAKE_COMMAND%)\r | |
26 | ECHO.\r | |
27 | shift\r | |
28 | popd\r | |
29 | goto loop\r | |
30 | \r | |
31 | :success\r | |
32 | goto exit\r | |
33 | \r | |
34 | :error\r | |
35 | popd\r | |
36 | ENDLOCAL\r | |
37 | ECHO Error while making %1!\r | |
38 | VERIFY OTHER 2>NUL\r | |
39 | \r | |
40 | :exit\r |