]> CRI, Mines Paris - PSL - Faustine.git/blobdiff - examples/Makefile
Examples' Makefiles are completed and tested.
[Faustine.git] / examples / Makefile
index 66667e1feedcc05ff649b925eeccd5c146875a23..c7e43eb35bf22e558d10436fc8b37e3c27f40d0b 100644 (file)
@@ -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