aboutsummaryrefslogtreecommitdiffstats
path: root/core/deps.mk
diff options
context:
space:
mode:
authorDaniel Goertzen <[email protected]>2016-05-17 11:33:49 -0500
committerDaniel Goertzen <[email protected]>2016-05-17 11:33:49 -0500
commite6868d13bb7ebca1ad78bee53efabb041f80c9b5 (patch)
treec75f58c3fca1b7465995f991f32ed6d0d841bcec /core/deps.mk
parentdac7b40e7852ef1528a7e62cddf6048a3fde39f4 (diff)
downloaderlang.mk-e6868d13bb7ebca1ad78bee53efabb041f80c9b5.tar.gz
erlang.mk-e6868d13bb7ebca1ad78bee53efabb041f80c9b5.tar.bz2
erlang.mk-e6868d13bb7ebca1ad78bee53efabb041f80c9b5.zip
Fix for issue 447.
Create ebin dir for all apps_dir apps before building any of them.
Diffstat (limited to 'core/deps.mk')
-rw-r--r--core/deps.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/deps.mk b/core/deps.mk
index 16a2f88..079e41c 100644
--- a/core/deps.mk
+++ b/core/deps.mk
@@ -53,6 +53,9 @@ deps::
else
deps:: $(ALL_DEPS_DIRS)
ifndef IS_APP
+ for dep in $(ALL_APPS_DIRS) ; do \
+ mkdir -p $$dep/ebin; \
+ done
$(verbose) for dep in $(ALL_APPS_DIRS) ; do \
$(MAKE) -C $$dep IS_APP=1 || exit $$?; \
done