diff --git a/tests/Makefile b/tests/Makefile --- a/tests/Makefile +++ b/tests/Makefile @@ -1,23 +1,10 @@ -SUBDIRS=Validation_IIR_f0_LFR \ - Validation_IIR_f1_LFR \ - Validation_LFR_Filters - -SUBDIRS_distclean:=$(SUBDIRS) -SUBDIRS_test:=$(SUBDIRS) - -.PHONY: distclean test $(SUBDIRS) +SUBDIRS := $(shell find ./ -maxdepth 1 -mindepth 1 -type d) -all: - echo "" - -test: $(SUBDIRS_test) +all : -distclean: $(SUBDIRS_distclean) - -$(SUBDIRS_distclean): - $(MAKE) -C $@ distclean - -$(SUBDIRS_test): - $(MAKE) -C $@ test +.PHONY: force +%: + -for d in $(SUBDIRS); do (cd $$d; $(MAKE) $@ ); done +