2019-03-03 18:12:28 +00:00
|
|
|
FIND_SUBDIRS := $(filter-out . .. nomake CVS $(IGNORE_SUBDIRS),\
|
2019-02-28 14:48:57 +00:00
|
|
|
$(patsubst ./%,%,$(patsubst %/,%,$(dir $(shell $(FIND) . -maxdepth 2 -mindepth 2 -a \( -iname Makefile -o -iname GNUmakefile \))))))
|
2019-03-03 18:12:28 +00:00
|
|
|
SUBDIRS_TO_ITERATE = $(filter-out $(IGNORE_SUBDIRS),$(SUBDIRS))
|
2019-02-28 14:48:57 +00:00
|
|
|
|
2020-04-10 12:03:42 +00:00
|
|
|
EXTRA_SUBDIR_TARGETS ?=
|
|
|
|
|
ALLOWED_SUBDIR_TARGETS ?= all install clean distclean test link-in $(EXTRA_SUBDIR_TARGETS)
|
2019-02-28 14:48:57 +00:00
|
|
|
|
2026-09-03 13:19:54 +02:00
|
|
|
SUBDIRS ?= $(dir $(wildcard $(addsuffix /Makefile,$(ORDERED_SUBDIRS)))) $(filter-out $(ORDERED_SUBDIRS),$(FIND_SUBDIRS))
|
2019-03-03 18:12:28 +00:00
|
|
|
#SUBDIRS ?= $(filter-out $(ORDERED_SUBDIRS),$(FIND_SUBDIRS))
|
|
|
|
|
#SUBDIRS ?= $(FIND_SUBDIRS)
|