From 2099f935db545b3a133b16927b76b1a32d93a840 Mon Sep 17 00:00:00 2001 From: Mark Rivers Date: Tue, 18 Feb 2014 18:55:42 -0600 Subject: [PATCH] Changed for new layout --- Makefile | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 9f71720..bd346ce 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,23 @@ #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 *app)) -ifeq ($(BUILD_APPS), YES) -DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard iocBoot)) +DIRS := $(DIRS) configure +DIRS := $(DIRS) andorSupport +DIRS := $(DIRS) andorApp +andorApp_DEPEND_DIRS += andorSupport +ifeq ($(BUILD_IOCS), YES) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard iocs)) +iocs_DEPEND_DIRS += andorApp endif 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 +