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