diff --git a/examples/Makefile b/examples/Makefile
index 512e2edbb6984fdafb8afbe2bdc4b2bb9cba1933..52b3ff6508b233093e8ff3b83a20f9b473351146 100644 (file)
--- a/examples/Makefile
+++ b/examples/Makefile
MFS = $(wildcard */Makefile)
DIRS = $(patsubst %/Makefile,%,$(MFS))
+# classification cannot be run from command line without attached display
+RUN_DIRS := $(filter-out classification, $(DIRS))
+
define make_in_dirs
@for dir in $(1); do \
echo "=============== " $$dir " =================" ; \
all:
$(call make_in_dirs, $(DIRS), )
+.PHONY: run
+run:
+ $(call make_in_dirs, $(RUN_DIRS), run)
+
.PHONY: clean
clean:
$(call make_in_dirs, $(DIRS), clean)
-
-realclean: clean
- make -C ../tidl_api clean