[Bf-blender-cvs] [e707ed43ef9] master: Build: show helpful error when accidentally using GNUMakefile on Windows

Brecht Van Lommel noreply at git.blender.org
Fri Jun 26 13:55:47 CEST 2020


Commit: e707ed43ef9e347f4c177850bfe11b99f6912c0c
Author: Brecht Van Lommel
Date:   Thu Jun 25 15:04:29 2020 +0200
Branches: master
https://developer.blender.org/rBe707ed43ef9e347f4c177850bfe11b99f6912c0c

Build: show helpful error when accidentally using GNUMakefile on Windows

===================================================================

M	GNUmakefile

===================================================================

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)



More information about the Bf-blender-cvs mailing list