From f40c5faffa5f6ee87c6bd48f6ce921ac9d27c3e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 21 Oct 2016 14:24:00 +0200 Subject: Deprecate Make 3 A warning will be displayed for the time being while we keep compatibility. Also improves installation docs for Unix. --- core/core.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'core/core.mk') diff --git a/core/core.mk b/core/core.mk index f4a8921..96b1457 100644 --- a/core/core.mk +++ b/core/core.mk @@ -18,6 +18,16 @@ ERLANG_MK_FILENAME := $(realpath $(lastword $(MAKEFILE_LIST))) ERLANG_MK_VERSION = 1 +# Make 3.81 and 3.82 are deprecated. + +ifeq ($(MAKE_VERSION),3.81) +$(warning Please upgrade to GNU Make 4 or later: https://erlang.mk/guide/installation.html) +endif + +ifeq ($(MAKE_VERSION),3.82) +$(warning Please upgrade to GNU Make 4 or later: https://erlang.mk/guide/installation.html) +endif + # Core configuration. PROJECT ?= $(notdir $(CURDIR)) -- cgit v1.2.3