2 # Windows makefile for Base Tools project build.
\r
4 # Copyright (c) 2009 - 2010, Intel Corporation<BR>
\r
5 # All rights reserved. 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
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
16 LANGUAGES = C Python
\r
18 SOURCE_SUBDIRS := $(patsubst %,Source/%,$(sort $(LANGUAGES)))
\r
19 SUBDIRS := $(SOURCE_SUBDIRS) Tests
\r
20 CLEAN_SUBDIRS := $(patsubst %,%-clean,$(sort $(SUBDIRS)))
\r
22 .PHONY: subdirs $(SUBDIRS)
\r
27 .PHONY: $(CLEAN_SUBDIRS)
\r
29 -$(MAKE) -C $(@:-clean=) clean
\r
31 clean: $(CLEAN_SUBDIRS)
\r