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:
authorChris Want <cwant@ualberta.ca>2005-04-10 02:40:34 +0400
committerChris Want <cwant@ualberta.ca>2005-04-10 02:40:34 +0400
commit6275dd5b14e94f06e73bc97ed5ee244f215fffeb (patch)
tree535dd29f44af23196261761241397361d0242da3 /source/nan_subdirs.mk
parent9b81d8f84cb50d67dfe86a0c65814f568f80f2f8 (diff)
Clean up for Makefiles: some of the directories were being printed
wrong (e.g., "/Fuzzics" and "/Joystick", and some of the solid stuff). This was particularly noticable during "make clean".
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::