git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@698 6f19259b...
[mirror_edk2.git] / Tools / bin / build.bat
... / ...
CommitLineData
1@REM\r
2@REM Copyright (c) 2006, Intel Corporation\r
3@REM All rights reserved. This program and the accompanying materials\r
4@REM are licensed and made available under the terms and conditions of the BSD License\r
5@REM which accompanies this distribution. The full text of the license may be found at\r
6@REM http://opensource.org/licenses/bsd-license.php\r
7@REM \r
8@REM THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
9@REM WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
10@REM\r
11\r
12@REM @if "%1"=="" (goto build)\r
13@REM @if "%1"=="clean" (goto clean)\r
14@REM @if "%1"=="cleanall" (goto cleanall)\r
15\r
16:build\r
17 @echo on\r
18 ant -f %WORKSPACE%/build.xml %1 %2 %3\r
19 @echo off\r
20 @goto end\r
21\r
22:clean\r
23 @echo on\r
24 ant clean -f %WORKSPACE%/build.xml\r
25 @echo off\r
26 @goto end\r
27 \r
28:cleanall\r
29 @echo on\r
30 ant cleanall -f %WORKSPACE%/build.xml\r
31 @echo off\r
32 @goto end\r
33\r
34:end