2010-03-04 12:57:31 +01:00
|
|
|
## @file
|
|
|
|
# Windows makefile for Base Tools project build.
|
|
|
|
#
|
2017-02-03 07:49:47 +01:00
|
|
|
# Copyright (c) 2007 - 2017, 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
|
|
|
|
|
|
|
|
SUBDIRS = $(BASE_TOOLS_PATH)\Source\C $(BASE_TOOLS_PATH)\Source\Python
|
2010-03-04 12:57:31 +01:00
|
|
|
|
|
|
|
all: c python
|
|
|
|
|
|
|
|
c :
|
2017-02-03 07:49:47 +01:00
|
|
|
@$(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.bat all $(BASE_TOOLS_PATH)\Source\C
|
2010-03-04 12:57:31 +01:00
|
|
|
|
|
|
|
python:
|
2017-02-03 07:49:47 +01:00
|
|
|
@$(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.bat all $(BASE_TOOLS_PATH)\Source\Python
|
2010-03-04 12:57:31 +01:00
|
|
|
|
|
|
|
subdirs: $(SUBDIRS)
|
2017-02-03 07:49:47 +01:00
|
|
|
@$(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.bat all $**
|
2010-03-04 12:57:31 +01:00
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
2017-02-03 07:49:47 +01:00
|
|
|
@$(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.bat clean $(SUBDIRS)
|
2010-03-04 12:57:31 +01:00
|
|
|
|
|
|
|
.PHONY: cleanall
|
|
|
|
cleanall:
|
2017-02-03 07:49:47 +01:00
|
|
|
@$(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.bat cleanall $(SUBDIRS)
|
2010-03-04 12:57:31 +01:00
|
|
|
|