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 thread_loop 11 12all: $(SUBDIRS) 13$(SUBDIRS): 14 @$(MAKE) -C $@ >/dev/null 15 16INSTALLDIRS = $(SUBDIRS:%=install-%) 17 18install-tests: $(INSTALLDIRS) 19$(INSTALLDIRS): 20 @$(MAKE) -C $(@:install-%=%) install-tests >/dev/null 21 22CLEANDIRS = $(SUBDIRS:%=clean-%) 23 24clean: $(CLEANDIRS) 25$(CLEANDIRS): 26 $(call QUIET_CLEAN, test-$(@:clean-%=%)) $(Q)$(MAKE) -C $(@:clean-%=%) clean >/dev/null 27 28.PHONY: all clean $(SUBDIRS) $(CLEANDIRS) $(INSTALLDIRS) 29