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

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