Skip to content

Commit 1d1f9f4

Browse files
committed
Replace hardcoded "make" with $(MAKE)
Some systems don't use GNU make by default, and use something like gnumake or gmake. Respect that when determining the make version.
1 parent 22b7295 commit 1d1f9f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ GOFMT ?= gofmt -s
2727
GOFLAGS := -v
2828
EXTRA_GOFLAGS ?=
2929

30-
MAKE_VERSION := $(shell make -v | head -n 1)
30+
MAKE_VERSION := $(shell $(MAKE) -v | head -n 1)
3131

3232
ifneq ($(DRONE_TAG),)
3333
VERSION ?= $(subst v,,$(DRONE_TAG))

0 commit comments

Comments
 (0)