Fix LOG_DIR directory creation error.
Add support for automatic creation of BUILD_DIR directory.
diff --git a/MAKEALL b/MAKEALL
index d2f86d3..112be32 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -18,7 +18,7 @@
 	BUILD_DIR="."
 fi
 
-[ -d ${MAKEALL_LOGDIR} ] || mkdir ${MAKEALL_LOGDIR} || exit 1
+[ -d ${LOG_DIR} ] || mkdir ${LOG_DIR} || exit 1
 
 LIST=""