-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (28 loc) · 1.07 KB
/
Makefile
File metadata and controls
38 lines (28 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#Makefile at top of application tree
TOP = .
include $(TOP)/configure/CONFIG
DIRS := $(DIRS) $(filter-out $(DIRS), configure)
DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *App))
DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard iocs))
define DIR_template
$(1)_DEPEND_DIRS = configure
endef
$(foreach dir, $(filter-out configure,$(DIRS)),$(eval $(call DIR_template,$(dir))))
iocs_DEPEND_DIRS += $(filter %App,$(DIRS))
# Comment out the following lines to disable creation of example iocs and documentation
#DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard etc))
#ifeq ($(wildcard etc),etc)
# include $(TOP)/etc/makeIocs/Makefile.iocs
# UNINSTALL_DIRS += documentation/doxygen $(IOC_DIRS)
#endif
# Comment out the following line to disable building of example iocs
#DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard iocs))
include $(TOP)/configure/RULES_TOP
uninstall: uninstall_iocs
uninstall_iocs:
$(MAKE) -C iocs uninstall
.PHONY: uninstall uninstall_iocs
realuninstall: realuninstall_iocs
realuninstall_iocs:
$(MAKE) -C iocs realuninstall
.PHONY: realuninstall realuninstall_iocs