Merge pull request #589 from davidgiven/osx

Error out if you're not using GNU Make 4.
This commit is contained in:
David Given
2022-09-13 22:50:35 +02:00
committed by GitHub

View File

@@ -30,6 +30,13 @@ ifeq ($(shell uname),Darwin)
-framework Foundation
endif
# Check the Make version.
ifeq ($(findstring 4.,$(MAKE_VERSION)),)
$(error You need GNU Make 4.x for this (if you're on OSX, use gmake).)
endif
# Normal settings.
OBJDIR ?= .obj