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)

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to