Skip to content

Commit 4bf5fd4

Browse files
authored
Merge pull request #589 from davidgiven/osx
Error out if you're not using GNU Make 4.
2 parents 45cc617 + 0a6bc99 commit 4bf5fd4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ ifeq ($(shell uname),Darwin)
3030
-framework Foundation
3131
endif
3232

33+
# Check the Make version.
34+
35+
36+
ifeq ($(findstring 4.,$(MAKE_VERSION)),)
37+
$(error You need GNU Make 4.x for this (if you're on OSX, use gmake).)
38+
endif
39+
3340
# Normal settings.
3441

3542
OBJDIR ?= .obj

0 commit comments

Comments
 (0)