3
|
1 |
#Makefile at top of application tree
|
|
2 |
TOP = .
|
|
3 |
include $(TOP)/configure/CONFIG
|
|
4 |
DIRS := $(DIRS) $(filter-out $(DIRS), configure)
|
|
5 |
DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *App))
|
|
6 |
DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard iocBoot))
|
|
7 |
|
|
8 |
define DIR_template
|
|
9 |
$(1)_DEPEND_DIRS = configure
|
|
10 |
endef
|
|
11 |
$(foreach dir, $(filter-out configure,$(DIRS)),$(eval $(call DIR_template,$(dir))))
|
|
12 |
|
|
13 |
iocBoot_DEPEND_DIRS += $(filter %App,$(DIRS))
|
|
14 |
|
|
15 |
include $(TOP)/configure/RULES_TOP
|
|
16 |
|
|
17 |
|