aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/core.mk9
-rw-r--r--core/erlc.mk4
2 files changed, 10 insertions, 3 deletions
diff --git a/core/core.mk b/core/core.mk
index 075ee45..a5fbffd 100644
--- a/core/core.mk
+++ b/core/core.mk
@@ -30,7 +30,14 @@ gen_verbose = $(gen_verbose_$(V))
# Core targets.
-all:: deps app rel
+ifneq ($(words $(MAKECMDGOALS)),1)
+.NOTPARALLEL:
+endif
+
+all::
+ @$(MAKE) --no-print-directory deps
+ @$(MAKE) --no-print-directory app
+ @$(MAKE) --no-print-directory rel
clean::
$(gen_verbose) rm -f erl_crash.dump
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