diff options
author | Loïc Hoguin <[email protected]> | 2016-10-21 14:24:00 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-10-21 14:24:00 +0200 |
commit | f40c5faffa5f6ee87c6bd48f6ce921ac9d27c3e0 (patch) | |
tree | 20fd026713adacf852cb546bd1a6701c78e61bca /core | |
parent | eee42f35647ea9eb0da33cfdc6735a9bed4faced (diff) | |
download | erlang.mk-f40c5faffa5f6ee87c6bd48f6ce921ac9d27c3e0.tar.gz erlang.mk-f40c5faffa5f6ee87c6bd48f6ce921ac9d27c3e0.tar.bz2 erlang.mk-f40c5faffa5f6ee87c6bd48f6ce921ac9d27c3e0.zip |
Deprecate Make 3
A warning will be displayed for the time being while we keep
compatibility.
Also improves installation docs for Unix.
Diffstat (limited to 'core')
-rw-r--r-- | core/core.mk | 10 |
1 files changed, 10 insertions, 0 deletions
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)) |