From e707ed43ef9e347f4c177850bfe11b99f6912c0c Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 25 Jun 2020 15:04:29 +0200 Subject: Build: show helpful error when accidentally using GNUMakefile on Windows --- GNUmakefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/GNUmakefile b/GNUmakefile index 93e2164dee8..9a5164cd722 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -142,6 +142,10 @@ Information endef # HELP_TEXT (end) +# This makefile is not meant for Windows +ifeq ($(OS),Windows_NT) + $(error On Windows, use "cmd //c make.bat" instead of "make") +endif # System Vars OS:=$(shell uname -s) -- cgit v1.2.3