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

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