diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-08-03 23:09:40 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-08-03 23:09:40 +0000 |
commit | 1433c6b6cc52822168df6b824eefe0670671026c (patch) | |
tree | 6547d33acef869ccaf5207d707985b6abf93ae1d | |
parent | 668399dc50b344b877011dabc6b704ae0ae01859 (diff) | |
download | execline-1433c6b6cc52822168df6b824eefe0670671026c.tar.gz execline-1433c6b6cc52822168df6b824eefe0670671026c.tar.xz execline-1433c6b6cc52822168df6b824eefe0670671026c.zip |
Add make version guard
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile index c602cad..3d49943 100644 --- 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 := |