mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-21 03:11:57 +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
|
||||
# undefined by default.
|
||||
ifeq ($(OSTYPE),Windows)
|
||||
ifeq ($(YQ2_OSTYPE),Windows)
|
||||
CC := gcc
|
||||
endif
|
||||
|
||||
|
@ -199,7 +199,7 @@ endif
|
|||
|
||||
# Extra CFLAGS for SDL
|
||||
ifeq ($(WITH_SDL2),yes)
|
||||
ifeq ($(OSTYPE),Windows)
|
||||
ifeq ($(YQ2_OSTYPE),Windows)
|
||||
SDLCFLAGS := $(shell /custom/bin/sdl2-config --cflags)
|
||||
else
|
||||
SDLCFLAGS := $(shell sdl2-config --cflags)
|
||||
|
|
Loading…
Reference in a new issue