X-Git-Url: https://scm.cri.ensmp.fr/git/Faustine.git/blobdiff_plain/8e216a8d5f6b094308594009342e53ef122b8062..refs/heads/master:/examples/Makefile?ds=sidebyside

diff --git a/examples/Makefile b/examples/Makefile
index 66667e1..2f1924b 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -1,4 +1,11 @@
-SOURCES = $(wildcard */*.dsp)
+EXAMPLES = 2d_fft close dilation erosion fft open primitives sinwave nstvector #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;)
+	rm -f */*~