Build: show helpful error when accidentally using GNUMakefile on Windows

This commit is contained in:
Brecht Van Lommel 2020-06-25 15:04:29 +02:00
parent e1da4f09fc
commit e707ed43ef
1 changed files with 4 additions and 0 deletions

View File

@ -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)