From: Karim Barkati Date: Mon, 16 Sep 2013 12:22:47 +0000 (+0200) Subject: Examples Makefile. X-Git-Url: https://scm.cri.mines-paristech.fr/git/Faustine.git/commitdiff_plain/e8e5ebaac3fd20af4989400e61811dc59ccbc6b8?hp=8abe2ee3f9b99450a1097204076770fc1c29b75a Examples Makefile. --- diff --git a/examples/Makefile b/examples/Makefile index 66667e1..b004c88 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: make-each-example + +define mytarget + make-each-example:: ; $(MAKE) -C $1 +endef + +$(foreach dir,$(DIRS),$(eval $(call mytarget,$(dir)))) -all: $(SOURCES) -