Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/nan_subdirs.mk')
-rw-r--r--source/nan_subdirs.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/nan_subdirs.mk b/source/nan_subdirs.mk
index f1d730e5cd1..aab88cc292b 100644
--- a/source/nan_subdirs.mk
+++ b/source/nan_subdirs.mk
@@ -56,10 +56,17 @@ else
@# Create object directory
@[ -d $(DIR) ] || mkdir -p $(DIR)
endif
+ ifdef SOURCEDIR
@for i in $(DIRS); do \
echo "====> $(MAKE) $@ in $(SOURCEDIR)/$$i" ;\
$(MAKE) -C $$i $@ || exit 1; \
done
+ else
+ @for i in $(DIRS); do \
+ echo "====> $(MAKE) $@ in $$i" ;\
+ $(MAKE) -C $$i $@ || exit 1; \
+ done
+ endif
endif
test::