aboutsummaryrefslogtreecommitdiffstats
path: root/core/erlc.mk
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <[email protected]>2015-09-02 19:32:49 +0200
committerJean-Sébastien Pédron <[email protected]>2015-09-02 19:32:49 +0200
commitabd896612215e5a5198f7388da5ad7346ac5c86f (patch)
treee3d3fbb17dd27e83f7ab13493af18dc33def3887 /core/erlc.mk
parent9d81705eb7de4c0ce398ada6e8464e33999f5aa0 (diff)
downloaderlang.mk-abd896612215e5a5198f7388da5ad7346ac5c86f.tar.gz
erlang.mk-abd896612215e5a5198f7388da5ad7346ac5c86f.tar.bz2
erlang.mk-abd896612215e5a5198f7388da5ad7346ac5c86f.zip
erlc.mk: Remove the target touching source files
The touch(1) happens after `$(PROJECT).d` is generated. Therefore, with the next run of make, `$(PROJECT).d` is considered obsolete and recreated. Source files are touched again, and so on. This makes the whole project to be rebuilt with every run of make.
Diffstat (limited to 'core/erlc.mk')
-rw-r--r--core/erlc.mk3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/erlc.mk b/core/erlc.mk
index 64c5fa2..f3fccd7 100644
--- a/core/erlc.mk
+++ b/core/erlc.mk
@@ -203,9 +203,6 @@ endef
ebin/$(PROJECT).app:: $(ERL_FILES) $(CORE_FILES)
$(if $(strip $?),$(call compile_erl,$?))
-
-$(sort $(ERL_FILES) $(CORE_FILES))::
- @touch $@
endif
clean:: clean-app