commit 183bb56f6e0903680412f8238a022561b0beaabb parent 6c96f05a25f1564b5e12366544677287fc201ef9 Author: Laurent Bercot <ska-skaware@skarnet.org> Date: Mon, 3 Aug 2015 22:49:44 +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 := 3.81 +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) -include config.mak