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