Merge branch 'master' of https://scm.cri.ensmp.fr/git/Faustine
authorWANG <wang@wang-OptiPlex-780.(none)>
Mon, 16 Sep 2013 15:56:12 +0000 (17:56 +0200)
committerWANG <wang@wang-OptiPlex-780.(none)>
Mon, 16 Sep 2013 15:56:12 +0000 (17:56 +0200)
Conflicts:
examples/Makefile

1  2 
examples/Makefile

diff --combined examples/Makefile
@@@ -1,15 -1,11 +1,10 @@@
- #SOURCES = $(wildcard */*.dsp)
- #MAKEFILES = $(wildcard */Makefile)
- EXAMPLES = 2d_fft close dilation erosion fft licenceplate open primitives sinwave
 -SOURCES = $(wildcard */*.dsp)
 -DIRS = sinwave fft primitives # 2d_fft close fft open sinwave dilation erosion licenseplate primitives
++EXAMPLES = 2d_fft close dilation erosion fft open primitives sinwave #licenceplate
  
 -all: make-each-example
 +all: examples
  
 -define mytarget
 -  make-each-example:: ; $(MAKE) -C $1
 -endef
 +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);)
  
 -$(foreach dir,$(DIRS),$(eval $(call mytarget,$(dir))))
 -      
 +clean::
-       @$(foreach example, $(EXAMPLES), cd $(example) && make clean && cd ..;)
- #examples:
- #     cd primitives && make
++      @$(foreach example, $(EXAMPLES), $(MAKE) -C $(example) clean;)