projects
/
Faustine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of https://scm.cri.ensmp.fr/git/Faustine
[Faustine.git]
/
examples
/
Makefile
diff --git
a/examples/Makefile
b/examples/Makefile
index
befe8b4
..
30cc6fa
100644
(file)
--- a/
examples/Makefile
+++ b/
examples/Makefile
@@
-1,11
+1,10
@@
-SOURCES = $(wildcard */*.dsp)
-DIRS = sinwave fft primitives # 2d_fft close fft open sinwave dilation erosion licenseplate primitives
+EXAMPLES = 2d_fft close dilation erosion fft open primitives sinwave #licenceplate
-all:
make-each-example
+all:
examples
-define mytarget
- make-each-example:: ; $(MAKE) -C $1
-endef
+examples::
+ @echo "Making all the examples, it may take several minutes..."
+ @$(foreach example, $(EXAMPLES), $(MAKE) -C $(example);)
-$(foreach dir,$(DIRS),$(eval $(call mytarget,$(dir))))
-
+clean::
+ @$(foreach example, $(EXAMPLES), $(MAKE) -C $(example) clean;)