2010-03-04 12:57:31 +01:00
|
|
|
## @file
|
|
|
|
# Windows makefile for Base Tools project build.
|
|
|
|
#
|
2018-08-28 17:26:56 +02:00
|
|
|
# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
|
2010-05-18 07:04:32 +02:00
|
|
|
# This program and the accompanying materials
|
2010-03-04 12:57:31 +01:00
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
|
|
#
|
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
|
|
|
|
2017-02-03 07:49:47 +01:00
|
|
|
!IFNDEF BASE_TOOLS_PATH
|
|
|
|
!ERROR "BASE_TOOLS_PATH is not set! Please run toolsetup.bat first!"
|
|
|
|
!ENDIF
|
|
|
|
|
2018-10-15 02:27:53 +02:00
|
|
|
SUBDIRS = $(BASE_TOOLS_PATH)\Source\C $(BASE_TOOLS_PATH)\Source\Python
|
2010-03-04 12:57:31 +01:00
|
|
|
|
2018-10-16 17:08:46 +02:00
|
|
|
all: c
|
2010-03-04 12:57:31 +01:00
|
|
|
|
|
|
|
c :
|
2018-10-15 02:27:53 +02:00
|
|
|
@$(PYTHON_HOME)\python.exe $(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.py all $(BASE_TOOLS_PATH)\Source\C
|
2010-03-04 12:57:31 +01:00
|
|
|
|
|
|
|
|
|
|
|
subdirs: $(SUBDIRS)
|
2018-10-15 02:27:53 +02:00
|
|
|
@$(PYTHON_HOME)\python.exe $(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.py all $**
|
2010-03-04 12:57:31 +01:00
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
2018-10-15 02:27:53 +02:00
|
|
|
$(PYTHON_HOME)\python.exe $(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.py clean $(SUBDIRS)
|
2010-03-04 12:57:31 +01:00
|
|
|
|
|
|
|
.PHONY: cleanall
|
|
|
|
cleanall:
|
2018-10-15 02:27:53 +02:00
|
|
|
$(PYTHON_HOME)\python.exe $(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.py cleanall $(SUBDIRS)
|
2010-03-04 12:57:31 +01:00
|
|
|
|