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