]> git.proxmox.com Git - mirror_edk2.git/blame - BaseTools/GNUmakefile
BaseTools: Remove equality operator with None
[mirror_edk2.git] / BaseTools / GNUmakefile
CommitLineData
c69f724d 1## @file\r
4afd3d04 2# GNU/Linux makefile for Base Tools project build.\r
c69f724d 3#\r
9e1131b7 4# Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>\r
40d841f6 5# This program and the accompanying materials\r
c69f724d 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
14all: subdirs\r
15\r
16LANGUAGES = C Python\r
17\r
18SOURCE_SUBDIRS := $(patsubst %,Source/%,$(sort $(LANGUAGES)))\r
19SUBDIRS := $(SOURCE_SUBDIRS) Tests\r
20CLEAN_SUBDIRS := $(patsubst %,%-clean,$(sort $(SUBDIRS)))\r
21\r
22.PHONY: subdirs $(SUBDIRS)\r
23subdirs: $(SUBDIRS)\r
24$(SUBDIRS):\r
25 $(MAKE) -C $@\r
26\r
9e1131b7
LG
27Tests: $(SOURCE_SUBDIRS)\r
28\r
c69f724d 29.PHONY: $(CLEAN_SUBDIRS)\r
30$(CLEAN_SUBDIRS):\r
31 -$(MAKE) -C $(@:-clean=) clean\r
32\r
33clean: $(CLEAN_SUBDIRS)\r