Change the default SDL version to SDL2 and the default Windows RENDERTYPE to SDL.

git-svn-id: https://svn.eduke32.com/eduke32@4100 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2013-10-13 06:17:27 +00:00
parent 1ac4c9b585
commit 2cabe1ec54

View file

@ -22,7 +22,7 @@ ifneq ($(SDLROOT_OVERRIDE),)
SDLROOT=$(SDLROOT_OVERRIDE) SDLROOT=$(SDLROOT_OVERRIDE)
endif endif
SDL_TARGET ?= 1 SDL_TARGET ?= 2
ifeq ($(SDL_TARGET),2) ifeq ($(SDL_TARGET),2)
SDLCONFIG ?= sdl2-config SDLCONFIG ?= sdl2-config
@ -106,7 +106,8 @@ ifeq ($(PLATFORM),DARWIN)
endif endif
endif endif
ifeq ($(PLATFORM),WINDOWS) ifeq ($(PLATFORM),WINDOWS)
RENDERTYPE?=WIN # Windows types can be SDL or WIN
RENDERTYPE?=SDL
MIXERTYPE?=WIN MIXERTYPE?=WIN
ifneq ($(RENDERTYPE),SDL) ifneq ($(RENDERTYPE),SDL)
ifeq ($(MIXERTYPE),SDL) ifeq ($(MIXERTYPE),SDL)