aboutsummaryrefslogtreecommitdiff
path: root/pl/Dir.mk
blob: 2d007790d2414578c7483756373a462ff6d1dcda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Makefile fragment - requires GNU make
#
# Copyright (c) 2022, Arm Limited.
# SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception

# These targets are defined if we prescribe pl in SUBS.
# It requires PLSUBS to be set.

$(foreach sub,$(PLSUBS),$(eval include $(srcdir)/pl/$(sub)/Dir.mk))

pl-files := $($(PLSUBS:%=pl/%-files))

all-pl: $(PLSUBS:%=all-pl/%)

check-pl: $(PLSUBS:%=check-pl/%)

install-pl: $(PLSUBS:%=install-pl/%)

clean-pl: $(PLSUBS:%=clean-pl/%)

.PHONY: all-pl check-pl install-pl clean-pl