Skip to content
This repository has been archived by the owner on Jul 26, 2021. It is now read-only.

Commit

Permalink
* добавлен контроль версии make
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-s-betke committed May 28, 2018
1 parent e1d191f commit e0f2d57
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ITG.MakeUtils/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ ifndef MAKE_COMMON_DIR
MAKE_COMMON_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
export ITG_MAKEUTILS_DIR := $(realpath $(MAKE_COMMON_DIR))

ifeq (,$(filter oneshell,$(.FEATURES)))
$(error Requires make version that supports .ONESHELL feature.)
endif

ifneq (3.82,$(firstword $(sort $(MAKE_VERSION) 3.82)))
$(error Requires make version 3.82 or higher (that supports .SHELLFLAGS).)
endif

.SECONDARY::;
.SECONDEXPANSION::;
.DELETE_ON_ERROR::;
Expand Down

0 comments on commit e0f2d57

Please sign in to comment.