commit bbcebaa7ac43f0ce281f8b9901e8070819d8f4be parent e4beb335c144aa7d6eac978348063ab397ca1e2f Author: Laurent Bercot <ska-skaware@skarnet.org> Date: Mon, 3 Aug 2015 23:16:59 +0000 Add make version guard Diffstat:
M | Makefile | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile @@ -7,6 +7,11 @@ it: all +make_need := 4.0 +ifeq "" "$(strip $(filter $(make_need), $(firstword $(sort $(make_need) $(MAKE_VERSION)))))" +fail := $(error Your make ($(MAKE_VERSION)) is too old. You need $(make_need) or newer) +endif + CC = $(error Please use ./configure first) STATIC_LIBS :=