summaryrefslogtreecommitdiff
path: root/Silicon/Intel/Tools/GNUmakefile
blob: 6910b6ad0f6b3273538fa0f08956c401cda20274 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
## @file
#  GNUmakefile for building C utilities.
#
#  Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
#  SPDX-License-Identifier: BSD-2-Clause-Patent
#
##

MAKEROOT = $(EDK_TOOLS_PATH)/Source/C

APPLICATIONS = \
  FitGen \

SUBDIRS := $(APPLICATIONS)

$(APPLICATIONS): $(MAKEROOT)/bin

.PHONY: subdirs $(SUBDIRS)
subdirs: $(SUBDIRS)
$(SUBDIRS):
	$(MAKE) -C $@

.PHONY: $(patsubst %,%-clean,$(sort $(SUBDIRS)))
$(patsubst %,%-clean,$(sort $(SUBDIRS))):
	-$(MAKE) -C $(@:-clean=) clean

clean: $(patsubst %,%-clean,$(sort $(SUBDIRS)))