Skip to content

Commit 0a6bc99

Browse files
committed
Error out if you're not using GNU Make 4.
1 parent 45cc617 commit 0a6bc99

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)