X-Git-Url: https://svn.cri.ensmp.fr/git/Faustine.git/blobdiff_plain/e8e5ebaac3fd20af4989400e61811dc59ccbc6b8..1059e1cc0c2ecfa237406949aa26155b6a5b9154:/examples/Makefile?ds=inline diff --git a/examples/Makefile b/examples/Makefile index b004c88..30cc6fa 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,11 +1,10 @@ -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 - -$(foreach dir,$(DIRS),$(eval $(call mytarget,$(dir)))) +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;)