X-Git-Url: https://scm.cri.ensmp.fr/git/Faustine.git/blobdiff_plain/6150323d86c4feb54bc8e994f7a4e52c3b34c6ec..c21be74684e409aaf08937e776c6cedce35b8fc0:/examples/Makefile diff --git a/examples/Makefile b/examples/Makefile index 66667e1..befe8b4 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: $(SOURCES) +all: make-each-example + +define mytarget + make-each-example:: ; $(MAKE) -C $1 +endef + +$(foreach dir,$(DIRS),$(eval $(call mytarget,$(dir))))