diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-08-03 22:49:44 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-08-03 22:49:44 +0000 |
commit | 183bb56f6e0903680412f8238a022561b0beaabb (patch) | |
tree | ef28c9a8409745792da6860301e140983ad16494 /Makefile | |
parent | 6c96f05a25f1564b5e12366544677287fc201ef9 (diff) | |
download | skalibs-183bb56f6e0903680412f8238a022561b0beaabb.tar.gz skalibs-183bb56f6e0903680412f8238a022561b0beaabb.tar.xz skalibs-183bb56f6e0903680412f8238a022561b0beaabb.zip |
Add make version guard
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile index 32dc746..31e358c 100644 --- 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 |