]> git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/Makefile
ShellPkg/for: Fix potential null pointer deference
[mirror_edk2.git] / BaseTools / Makefile
1 ## @file
2 # Windows makefile for Base Tools project build.
3 #
4 # Copyright (c) 2007 - 2017, Intel Corporation. All rights reserved.<BR>
5 # This program and the accompanying materials
6 # are licensed and made available under the terms and conditions of the BSD License
7 # which accompanies this distribution. The full text of the license may be found at
8 # http://opensource.org/licenses/bsd-license.php
9 #
10 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 #
13
14 !IFNDEF BASE_TOOLS_PATH
15 !ERROR "BASE_TOOLS_PATH is not set! Please run toolsetup.bat first!"
16 !ENDIF
17
18 SUBDIRS = $(BASE_TOOLS_PATH)\Source\C $(BASE_TOOLS_PATH)\Source\Python
19
20 all: c python
21
22 c :
23 @$(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.bat all $(BASE_TOOLS_PATH)\Source\C
24
25 python:
26 @$(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.bat all $(BASE_TOOLS_PATH)\Source\Python
27
28 subdirs: $(SUBDIRS)
29 @$(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.bat all $**
30
31 .PHONY: clean
32 clean:
33 @$(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.bat clean $(SUBDIRS)
34
35 .PHONY: cleanall
36 cleanall:
37 @$(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.bat cleanall $(SUBDIRS)
38