From bf994b35b06fa01abc89936e677834fcc30b7beb Mon Sep 17 00:00:00 2001 From: Taryn Hill Date: Thu, 10 Nov 2016 07:36:01 -0600 Subject: [PATCH] Add message to fixheader.exe target if Mono isn't installed --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index c404363cd4..fa23470aaf 100644 --- a/Makefile +++ b/Makefile @@ -291,6 +291,7 @@ server: $(server_TARGET) # Patches binary headers to work around a mono bug fixheader.exe: packaging/fixheader.cs + @command -v $(CSC) >/dev/null || (echo "Mono is not installed. Please install Mono from http://www.mono-project.com/download/ before building OpenRA."; exit 1) @echo CSC fixheader.exe @$(CSC) packaging/fixheader.cs $(CSFLAGS) -out:fixheader.exe -t:exe $(COMMON_LIBS:%=-r:%)