diff options
author | Jean-Sébastien Pédron <[email protected]> | 2015-09-02 19:32:49 +0200 |
---|---|---|
committer | Jean-Sébastien Pédron <[email protected]> | 2015-09-02 19:32:49 +0200 |
commit | abd896612215e5a5198f7388da5ad7346ac5c86f (patch) | |
tree | e3d3fbb17dd27e83f7ab13493af18dc33def3887 /core | |
parent | 9d81705eb7de4c0ce398ada6e8464e33999f5aa0 (diff) | |
download | erlang.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')
-rw-r--r-- | core/erlc.mk | 3 |
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 |