NewMakefile.gmk

changeset 861
1a853fac18ff
parent 839
174a54ce39c4
child 865
4293401d683b
     1.1 --- a/NewMakefile.gmk	Mon Oct 21 10:40:16 2013 +0200
     1.2 +++ b/NewMakefile.gmk	Mon Oct 21 11:59:25 2013 +0200
     1.3 @@ -36,10 +36,8 @@
     1.4  TEST_FOR_NON_GNUMAKE:sh=echo You are not using GNU make/gmake, this is a requirement. Check your path. 1>&2 && exit 1
     1.5  
     1.6  # Assume we have GNU make, but check version.
     1.7 -ifeq (,$(findstring 3.81,$(MAKE_VERSION)))
     1.8 -  ifeq (,$(findstring 3.82,$(MAKE_VERSION)))
     1.9 -    $(error This version of GNU Make is too low ($(MAKE_VERSION)). Check your path, or upgrade to 3.81 or newer.)
    1.10 -  endif
    1.11 +ifeq ($(strip $(foreach v, 3.81 3.82 4.%, $(filter $v, $(MAKE_VERSION)))), )
    1.12 +  $(error This version of GNU Make is too low ($(MAKE_VERSION)). Check your path, or upgrade to 3.81 or newer.)
    1.13  endif
    1.14  
    1.15  # Locate this Makefile

mercurial