1# SPDX-License-Identifier: GPL-2.0-only 2# Carsten Haitzler <carsten.haitzler@arm.com>, 2021 3include ../../../../../tools/scripts/Makefile.include 4include ../../../../../tools/scripts/Makefile.arch 5include ../../../../../tools/scripts/utilities.mak 6 7SUBDIRS = \ 8 asm_pure_loop \ 9 memcpy_thread 10 11all: $(SUBDIRS) 12$(SUBDIRS): 13 @$(MAKE) -C $@ >/dev/null 14 15INSTALLDIRS = $(SUBDIRS:%=install-%) 16 17install-tests: $(INSTALLDIRS) 18$(INSTALLDIRS): 19 @$(MAKE) -C $(@:install-%=%) install-tests >/dev/null 20 21CLEANDIRS = $(SUBDIRS:%=clean-%) 22 23clean: $(CLEANDIRS) 24$(CLEANDIRS): 25 $(call QUIET_CLEAN, test-$(@:clean-%=%)) $(Q)$(MAKE) -C $(@:clean-%=%) clean >/dev/null 26 27.PHONY: all clean $(SUBDIRS) $(CLEANDIRS) $(INSTALLDIRS) 28