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