aboutsummaryrefslogtreecommitdiffstats
path: root/core/erlc.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-01-07 15:55:30 +0100
committerLoïc Hoguin <[email protected]>2015-01-07 16:27:47 +0100
commit2a6499a167354f2a1259b28b2c3105f08db977d1 (patch)
tree0c89e3e037e9babcc7c90a1817bdf530d9cec157 /core/erlc.mk
parent1f58d8b925b9ca1a00a2cb5e6938bf00b2238848 (diff)
downloaderlang.mk-2a6499a167354f2a1259b28b2c3105f08db977d1.tar.gz
erlang.mk-2a6499a167354f2a1259b28b2c3105f08db977d1.tar.bz2
erlang.mk-2a6499a167354f2a1259b28b2c3105f08db977d1.zip
Fix parallel compilation
Parallel compilation is now only enabled for "make" and "make deps app". To ensure order we spawn a new Make process for "deps", "app" and "rel" when the "all" target (or no target) is used.
Diffstat (limited to 'core/erlc.mk')
-rw-r--r--core/erlc.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/erlc.mk b/core/erlc.mk
index 01bd6e0..8d720aa 100644
--- a/core/erlc.mk
+++ b/core/erlc.mk
@@ -75,11 +75,11 @@ ebin/$(PROJECT).app:: $(shell find mibs -type f -name \*.mib)
endif
ebin/$(PROJECT).app:: $(shell find src -type f -name \*.erl) \
- $(shell find src -type f -name \*.core) | deps
+ $(shell find src -type f -name \*.core)
$(if $(strip $?),$(call compile_erl,$?))
ebin/$(PROJECT).app:: $(shell find src -type f -name \*.xrl) \
- $(shell find src -type f -name \*.yrl) | deps
+ $(shell find src -type f -name \*.yrl)
$(if $(strip $?),$(call compile_xyrl,$?))
endif