Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
check make version
Browse files Browse the repository at this point in the history
  • Loading branch information
silenceshell committed Sep 4, 2019
1 parent 9569858 commit 3339670
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
ifneq (3.82, $(firstword $(sort $(MAKE_VERSION) 3.82)))
$(error make require version 3.82 or higher)
MIN_MAKE_VERSION = 3.82
ifneq ($(MIN_MAKE_VERSION), $(firstword $(sort $(MAKE_VERSION) $(MIN_MAKE_VERSION))))
$(error this project requires make version $(MIN_MAKE_VERSION) or higher)
endif

SHELL:=/bin/bash
Expand Down

0 comments on commit 3339670

Please sign in to comment.