X-Git-Url: https://svn.cri.ensmp.fr/git/Faustine.git/blobdiff_plain/dbded051d69cc5ba556884eb285feba032e09d29..1059e1cc0c2ecfa237406949aa26155b6a5b9154:/examples/Makefile

diff --git a/examples/Makefile b/examples/Makefile
index 66667e1..30cc6fa 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -1,4 +1,10 @@
-SOURCES = $(wildcard */*.dsp)
+EXAMPLES = 2d_fft close dilation erosion fft open primitives sinwave #licenceplate
 
-all: $(SOURCES)
-	
+all: examples
+
+examples::
+	@echo "Making all the examples, it may take several minutes..."
+	@$(foreach example, $(EXAMPLES), $(MAKE) -C $(example);)
+
+clean::
+	@$(foreach example, $(EXAMPLES), $(MAKE) -C $(example) clean;)