diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-08-03 23:17:17 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-08-03 23:17:17 +0000 |
commit | f9c1bf26d0d56d249b37d9c7d938abb570d1c31e (patch) | |
tree | cdbcef83f4b27e32fa8153a88eddafb76a05f712 /Makefile | |
parent | 03ba9aaa10b388f79d056d904c3d1f8ae97c9194 (diff) | |
download | s6-linux-utils-f9c1bf26d0d56d249b37d9c7d938abb570d1c31e.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 := |