Add HOST_PREFIX to Makefile.win.

This commit is contained in:
Themaister 2014-02-02 15:34:37 +01:00
parent 564f743cc5
commit 17513a32d0

View File

@ -55,9 +55,15 @@ JOBJ := conf/config_file.o \
HEADERS = $(wildcard */*/*.h) $(wildcard */*.h) $(wildcard *.h)
CC = gcc
CXX = g++
WINDRES = windres
ifneq ($(HOST_PREFIX),)
CC = $(HOST_PREFIX)gcc
CXX = $(HOST_PREFIX)g++
WINDRES = $(HOST_PREFIX)windres
else
CC = gcc
CXX = g++
WINDRES = windres
endif
HAVE_DINPUT = 1
HAVE_XAUDIO = 1