github.com/westcoastroms/westcoastroms-build@v0.0.0-20190928114312-2350e5a73030/build/kati/testcase/posix_var.mk (about)

     1  # TODO(go): Fix
     2  
     3  MAKEVER:=$(shell make --version | ruby -n0e 'puts $$_[/Make (\d)/,1]')
     4  
     5  # GNU make 3.82 has this feature though.
     6  ifeq ($(MAKEVER),3)
     7  
     8  test:
     9  	echo test skipped
    10  
    11  else
    12  
    13  $(info $(shell echo foo))
    14  override SHELL := echo
    15  $(info $(shell echo bar))
    16  .POSIX:
    17  $(info $(shell echo baz))
    18  test:
    19  	foobar
    20  
    21  endif