From 12c0d1cc87fd0371e6a9ed3dad173e790d030d4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 4 Mar 2020 23:06:29 +0100 Subject: [PATCH] simplified master-test Makefile with pd-lib-builder magic --- tests/Makefile | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index 6eeab1a..0d82d64 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,23 +1,12 @@ # recursively build all example projects in the subdirectories -projects := $(filter-out _%, $(dir $(wildcard */Makefile))) -all: $(projects:%=%-build) -buildcheck: $(projects:%=%-buildcheck) -install: $(projects:%=%-install) -installcheck: $(projects:%=%-installcheck) -clean: $(projects:%=%-clean) +makefiledirs := $(filter-out _%, $(dir $(wildcard */Makefile))) + +PDLIBBUILDER_DIR = ../ +include $(PDLIBBUILDER_DIR)/Makefile.pdlibbuilder + +buildcheck installcheck: $(makefiledirs) projects: - @echo $(projects) - -%-build: %/Makefile - $(MAKE) -C $(