SOURCES = $(wildcard */*.dsp)
DIRS = sinwave fft primitives # 2d_fft close fft open sinwave dilation erosion licenseplate primitives
-all: eachexample
+all: make-each-example
define mytarget
- eachexample:: ; $(MAKE) -C $1
+ make-each-example:: ; $(MAKE) -C $1
endef
$(foreach dir,$(DIRS),$(eval $(call mytarget,$(dir))))