Add message to fixheader.exe target if Mono isn't installed

This commit is contained in:
Taryn Hill
2016-11-10 07:36:01 -06:00
parent d8d7c0c0f7
commit bf994b35b0

View File

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