X-Git-Url: https://scm.cri.ensmp.fr/git/Faustine.git/blobdiff_plain/8e216a8d5f6b094308594009342e53ef122b8062..e9823a113b28e33924bc23b08e1a34a80ffec8ee:/examples/Makefile?ds=inline

diff --git a/examples/Makefile b/examples/Makefile
index 66667e1..7163a89 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -1,4 +1,11 @@
-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;)
+	rm -f */*~