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
path: root/extern
diff options
context:
space:
mode:
authorChris Want <cwant@ualberta.ca>2004-08-21 23:12:59 +0400
committerChris Want <cwant@ualberta.ca>2004-08-21 23:12:59 +0400
commit83222e376ec6271c146f2371e0d521ed2e82f938 (patch)
tree6ea6d71adebf48fb2b8bf195a4d5b97d9ad96986 /extern
parentea30bc3e2a3f41010159508cdd155bf3430b68bb (diff)
Make sure directory $(OCGDIR)/extern is created before building extern
stuff.
Diffstat (limited to 'extern')
-rw-r--r--extern/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/extern/Makefile b/extern/Makefile
index ef2bb518dad..4bd348c6735 100644
--- a/extern/Makefile
+++ b/extern/Makefile
@@ -46,12 +46,14 @@ endif
# .PHONY: qhull solid solid_with_qhull
all::
+ @[ -d $(OCGDIR)/extern ] || mkdir -p $(OCGDIR)/extern
@for i in $(DIRS); do \
echo "====> $(MAKE) $@ in $(SOURCEDIR)/$$i" ;\
$(MAKE) -C $$i install || exit 1; \
done
-
+
clean test debug::
+ @[ -d $(OCGDIR)/extern ] || mkdir -p $(OCGDIR)/extern
@for i in $(DIRS); do \
echo "====> $(MAKE) $@ in $(SOURCEDIR)/$$i" ;\
$(MAKE) -C $$i $@ || exit 1; \