2 # Windows makefile for Base Tools project build.
4 # Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
5 # SPDX-License-Identifier: BSD-2-Clause-Patent
8 !IFNDEF BASE_TOOLS_PATH
9 !ERROR
"BASE_TOOLS_PATH is not set! Please run toolsetup.bat first!"
12 SUBDIRS
= $(BASE_TOOLS_PATH
)\Source\C
$(BASE_TOOLS_PATH
)\Source\Python
17 @if defined PYTHON_COMMAND
$(PYTHON_COMMAND
) $(BASE_TOOLS_PATH
)\Source\C\Makefiles\NmakeSubdirs.py
all $(BASE_TOOLS_PATH
)\Source\C
18 @if not defined PYTHON_COMMAND
$(PYTHON_HOME
)\python.exe
$(BASE_TOOLS_PATH
)\Source\C\Makefiles\NmakeSubdirs.py
all $(BASE_TOOLS_PATH
)\Source\C
22 @if defined PYTHON_COMMAND
$(PYTHON_COMMAND
) $(BASE_TOOLS_PATH
)\Source\C\Makefiles\NmakeSubdirs.py
all $**
23 @if not defined PYTHON_COMMAND
$(PYTHON_HOME
)\python.exe
$(BASE_TOOLS_PATH
)\Source\C\Makefiles\NmakeSubdirs.py
all $**
27 @if defined PYTHON_COMMAND
$(PYTHON_COMMAND
) $(BASE_TOOLS_PATH
)\Source\C\Makefiles\NmakeSubdirs.py
clean $(SUBDIRS
)
28 @if not defined PYTHON_COMMAND
$(PYTHON_HOME
)\python.exe
$(BASE_TOOLS_PATH
)\Source\C\Makefiles\NmakeSubdirs.py
clean $(SUBDIRS
)
32 @if defined PYTHON_COMMAND
$(PYTHON_COMMAND
) $(BASE_TOOLS_PATH
)\Source\C\Makefiles\NmakeSubdirs.py cleanall
$(SUBDIRS
)
33 @if not defined PYTHON_COMMAND
$(PYTHON_HOME
)\python.exe
$(BASE_TOOLS_PATH
)\Source\C\Makefiles\NmakeSubdirs.py cleanall
$(SUBDIRS
)