mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Fix Windows build (missing OSTYPE => YQ2_OSTYPE in Makefile)
This commit is contained in:
parent
7fe6412d70
commit
54b38176ef
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue