summaryrefslogtreecommitdiffstats
path: root/src/pmdk/utils/Makefile
blob: 14352886f6def1123cb96bcb36fd4caba41e976b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2016-2020, Intel Corporation

rwildcard=$(strip $(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2)\
	$(filter $(subst *,%,$2),$d)))

SCRIPTS = $(call rwildcard,,*.sh)

cstyle:
	./check-shebang.sh $(SCRIPTS)

.PHONY: cstyle