+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))))