MultiLayer images: added support for choosing compression type.
[blender.git] / source / nan_subdirs.mk
index f1d730e5cd189202a5a78b163c10687b61d80836..aab88cc292b520d50623e118e3bbad6574eebb48 100644 (file)
@@ -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::