From abd896612215e5a5198f7388da5ad7346ac5c86f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Date: Wed, 2 Sep 2015 19:32:49 +0200 Subject: 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. --- core/erlc.mk | 3 --- 1 file changed, 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 -- cgit v1.2.3