Fix Windows build (missing OSTYPE => YQ2_OSTYPE in Makefile)

This commit is contained in:
Daniel Gibson 2017-04-04 17:34:19 +02:00
parent 7fe6412d70
commit 54b38176ef

View file

@ -191,7 +191,7 @@ endif
# On Windows / MinGW $(CC) is # On Windows / MinGW $(CC) is
# undefined by default. # undefined by default.
ifeq ($(OSTYPE),Windows) ifeq ($(YQ2_OSTYPE),Windows)
CC := gcc CC := gcc
endif endif
@ -199,7 +199,7 @@ endif
# Extra CFLAGS for SDL # Extra CFLAGS for SDL
ifeq ($(WITH_SDL2),yes) ifeq ($(WITH_SDL2),yes)
ifeq ($(OSTYPE),Windows) ifeq ($(YQ2_OSTYPE),Windows)
SDLCFLAGS := $(shell /custom/bin/sdl2-config --cflags) SDLCFLAGS := $(shell /custom/bin/sdl2-config --cflags)
else else
SDLCFLAGS := $(shell sdl2-config --cflags) SDLCFLAGS := $(shell sdl2-config --cflags)