projects
/
Faustine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Examples Makefile.
[Faustine.git]
/
examples
/
Makefile
diff --git
a/examples/Makefile
b/examples/Makefile
index
66667e1
..
e66137f
100644
(file)
--- a/
examples/Makefile
+++ b/
examples/Makefile
@@
-1,4
+1,11
@@
SOURCES = $(wildcard */*.dsp)
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)
-