diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-08-03 23:17:27 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-08-03 23:17:27 +0000 |
commit | 8d7e51feec8038012528f208065211c1c3f44dc9 (patch) | |
tree | 9758e3884cbcd6696b5847182ae1478611e2fb29 /Makefile | |
parent | fcd0fbb0ff31bb20dd1849bb3dd1bc81f08cbc15 (diff) | |
download | s6-portable-utils-8d7e51feec8038012528f208065211c1c3f44dc9.tar.xz |
Add make version guard
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 := |