From 9d81705eb7de4c0ce398ada6e8464e33999f5aa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Date: Wed, 2 Sep 2015 19:08:25 +0200 Subject: erlc.mk: Use double-colon targets for source files targets When files are generated, this avoids a warning because the target would be redefined. --- core/erlc.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/erlc.mk') diff --git a/core/erlc.mk b/core/erlc.mk index 80affca..64c5fa2 100644 --- a/core/erlc.mk +++ b/core/erlc.mk @@ -179,7 +179,7 @@ define makedep.erl ({attribute, _, file, {Dep, _}}, Acc) -> AddHd(Dep, Acc); (_, Acc) -> Acc end, [], Forms)), - [F, ":", [[" ", D] || D <- Deps], "\n", CompileFirst(Deps)]; + [F, "::", [[" ", D] || D <- Deps], "\n", CompileFirst(Deps)]; {error, enoent} -> [] end @@ -204,7 +204,7 @@ endef ebin/$(PROJECT).app:: $(ERL_FILES) $(CORE_FILES) $(if $(strip $?),$(call compile_erl,$?)) -$(sort $(ERL_FILES) $(CORE_FILES)): +$(sort $(ERL_FILES) $(CORE_FILES)):: @touch $@ endif -- cgit v1.2.3