mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 12:21:19 +00:00
Makefile: use built-in SDL2 and SDL2_mixer for Mingw32 and Mingw64
This commit is contained in:
parent
f3d0ecbe9d
commit
bbf9f5adc8
1 changed files with 4 additions and 0 deletions
|
@ -9,10 +9,14 @@
|
||||||
ifdef MINGW64
|
ifdef MINGW64
|
||||||
NOASM=1
|
NOASM=1
|
||||||
NONX86=1
|
NONX86=1
|
||||||
|
SDL_CFLAGS?=-I../libs/SDL2/x86_64-w64-mingw32/include/SDL2 -I../libs/SDL2_mixer/x86_64-w64-mingw32/include/SDL2 -Dmain=SDL_main -DSDLMAIN
|
||||||
|
SDL_LDFLAGS?=-L../libs/SDL2/x86_64-w64-mingw32/lib -L../libs/SDL2_mixer/x86_64-w64-mingw32/lib -lmingw32 -lSDL2main -lSDL2 -mwindows -lSDL2_mixer
|
||||||
else
|
else
|
||||||
HAVE_LIBGME=1
|
HAVE_LIBGME=1
|
||||||
LIBGME_CFLAGS=-I../libs/gme/include
|
LIBGME_CFLAGS=-I../libs/gme/include
|
||||||
LIBGME_LDFLAGS=-L../libs/gme/win32 -lgme
|
LIBGME_LDFLAGS=-L../libs/gme/win32 -lgme
|
||||||
|
SDL_CFLAGS?=-I../libs/SDL2/i686-w64-mingw32/include/SDL2 -I../libs/SDL2_mixer/i686-w64-mingw32/include/SDL2 -Dmain=SDL_main -DSDLMAIN
|
||||||
|
SDL_LDFLAGS?=-L../libs/SDL2/i686-w64-mingw32/lib -L../libs/SDL2_mixer/i686-w64-mingw32/lib -lmingw32 -lSDL2main -lSDL2 -mwindows -lSDL2_mixer
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifndef NOASM
|
ifndef NOASM
|
||||||
|
|
Loading…
Reference in a new issue