From 9ab445518a01e9b10b5d3e1c99f45d81d874278b Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 10 Jun 2012 19:39:40 +0000 Subject: Add OBJDIR optional build variable to the BULD build system module, to allow the user project to relocate the output object and dependency files to a different directory. --- Projects/makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Projects/makefile') diff --git a/Projects/makefile b/Projects/makefile index 5c30bc981..e169689bf 100644 --- a/Projects/makefile +++ b/Projects/makefile @@ -23,7 +23,9 @@ ifeq ($(MAKELEVEL), 10) endif all: +ifeq ($(OBJDIR),) @$(foreach PROJECT, $(PROJECT_DIRECTORIES), $(MAKE) -s -C $(PROJECT) clean all;) +endif %: @$(foreach PROJECT, $(PROJECT_DIRECTORIES), $(MAKE) -s -C $(PROJECT) $@;) -- cgit v1.2.3