diff options
author | Loïc Hoguin <[email protected]> | 2018-11-25 08:23:57 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-11-25 08:23:57 +0100 |
commit | 7ed5a10b44a95c40ad55ee16d2893097e869f006 (patch) | |
tree | 67bc0e129d65869b3c83d2ba9846e7c3d83b3ab5 /core/erlc.mk | |
parent | 40db558812f5e0fee0607baeae0248e3166bc07b (diff) | |
download | erlang.mk-7ed5a10b44a95c40ad55ee16d2893097e869f006.tar.gz erlang.mk-7ed5a10b44a95c40ad55ee16d2893097e869f006.tar.bz2 erlang.mk-7ed5a10b44a95c40ad55ee16d2893097e869f006.zip |
Build $(PROJECT).d in a separate $(MAKE) call
This avoids the issue where clean will remove a file that was
otherwise generated and won't be regenerated. This might also
help with parallel building.
Diffstat (limited to 'core/erlc.mk')
-rw-r--r-- | core/erlc.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/erlc.mk b/core/erlc.mk index 39d1553..cf930c9 100644 --- a/core/erlc.mk +++ b/core/erlc.mk @@ -54,10 +54,12 @@ ifneq ($(wildcard src/),) # Targets. ifeq ($(wildcard ebin/test),) -app:: deps $(PROJECT).d +app:: deps + $(verbose) $(MAKE) --no-print-directory $(PROJECT).d $(verbose) $(MAKE) --no-print-directory app-build else -app:: clean deps $(PROJECT).d +app:: clean deps + $(verbose) $(MAKE) --no-print-directory $(PROJECT).d $(verbose) $(MAKE) --no-print-directory app-build endif |