Dosyalar
rocm-systems/test/memory_validation/benches/Makefile
T
Xianwei Zhang a5a56425bb tests: add top-level Makefile and run.sh
Change-Id: Ieaef51422c11ec27d56ff19953f9a5dd1f563353
2019-07-18 05:21:20 -05:00

20 satır
366 B
Makefile

# specify each subdir here
SUBDIRS = test_cache
TARGETS = all clean
.PHONY: $(TARGETS) default
# change this line to change the default action
# (using one of the targets above)
default: all
define do-target
$(1): $$(foreach subdir, $$(SUBDIRS), $(1)-$$(subdir))
$(1)-%:
$$(MAKE) -C $$* $(1)
endef
$(foreach tgt, $(TARGETS), $(eval $(call do-target,$(tgt))))