mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Use correct include pathes to SDL under Windows
This commit is contained in:
parent
93f518e7b5
commit
a4609fc42b
3 changed files with 13 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -162,7 +162,7 @@ endif
|
|||
|
||||
# Extra LDFLAGS for SDL
|
||||
ifeq ($(OSTYPE), Windows)
|
||||
SDLLDFLAGS := $(shell sdl-config.exe --libs)
|
||||
SDLLDFLAGS := -lSDL
|
||||
else
|
||||
SDLLDFLAGS := $(shell sdl-config --libs)
|
||||
endif
|
||||
|
@ -234,7 +234,7 @@ endif
|
|||
|
||||
ifeq ($(WITH_OGG),yes)
|
||||
release/quake2.exe : CFLAGS += -DOGG
|
||||
release/quake2.exe : LDFLAGS += -lvorbis -lvorbisfile -logg
|
||||
release/quake2.exe : LDFLAGS += -lvorbisfile -lvorbis -logg
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_OPENAL),yes)
|
||||
|
|
|
@ -28,7 +28,13 @@
|
|||
#ifdef CDA
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include "SDL/SDL.h"
|
||||
#else
|
||||
#include "SDL.h"
|
||||
#endif
|
||||
|
||||
#include "../client/header/client.h"
|
||||
|
||||
static qboolean cdValid = false;
|
||||
|
|
|
@ -30,7 +30,12 @@
|
|||
* =======================================================================
|
||||
*/
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <SDL/SDL.h>
|
||||
#else
|
||||
#include <SDL.h>
|
||||
#endif
|
||||
|
||||
#include "../client/header/client.h"
|
||||
#include "../client/sound/header/local.h"
|
||||
|
||||
|
|
Loading…
Reference in a new issue