From: Karim Barkati Date: Mon, 16 Sep 2013 12:22:47 +0000 (+0200) Subject: Examples Makefile. X-Git-Url: https://scm.cri.ensmp.fr/git/Faustine.git/commitdiff_plain/2a4b3defeda7a2dbe3cf0b392455b96369ae1825?hp=--cc Examples Makefile. --- 2a4b3defeda7a2dbe3cf0b392455b96369ae1825 diff --git a/examples/Makefile b/examples/Makefile index 66667e1..e66137f 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,4 +1,11 @@ SOURCES = $(wildcard */*.dsp) +DIRS = sinwave fft primitives # 2d_fft close fft open sinwave dilation erosion licenseplate primitives + +all: eachexample + +define mytarget + eachexample:: ; $(MAKE) -C $1 +endef + +$(foreach dir,$(DIRS),$(eval $(call mytarget,$(dir)))) -all: $(SOURCES) -