diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-08-03 23:17:13 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-08-03 23:17:13 +0000 |
commit | 3872e7d392217394a7c9c12dfa65ab12e49e54f4 (patch) | |
tree | 331d225387e310c39f15cb3dba8a871ed0f5602d | |
parent | 1b15450540a2a52275261c9a715a73d42dbb5e92 (diff) | |
download | s6-linux-init-3872e7d392217394a7c9c12dfa65ab12e49e54f4.tar.xz |
Add make version guard
-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 := |