mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 12:09:15 +00:00
Use correct compiler
svn-id: r4490
This commit is contained in:
parent
b00225b9dc
commit
43fab3978c
@ -8,14 +8,13 @@ SDL_CFLAGS=-I$(SRC)/sdl/include
|
|||||||
SDL_LIBS=-L$(SRC)/sdl/lib -lSDLmain -lSDL
|
SDL_LIBS=-L$(SRC)/sdl/lib -lSDLmain -lSDL
|
||||||
|
|
||||||
# If MAD (MPEG Audio Decoder) header and library isn't installed remove -lmad and -DCOMPRESSED_SOUND_FILE
|
# If MAD (MPEG Audio Decoder) header and library isn't installed remove -lmad and -DCOMPRESSED_SOUND_FILE
|
||||||
CC = gcc
|
CC = g++
|
||||||
CFLAGS = -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar
|
CFLAGS = -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar
|
||||||
DEFINES = -DCOMPRESSED_SOUND_FILE
|
DEFINES = -DCOMPRESSED_SOUND_FILE
|
||||||
LDFLAGS :=-mwindows -mconsole
|
LDFLAGS :=-mwindows -mconsole
|
||||||
INCLUDES:= $(SDL_CFLAGS) -I./ -I./sound
|
INCLUDES:= $(SDL_CFLAGS) -I./ -I./sound
|
||||||
CPPFLAGS= $(DEFINES) $(INCLUDES)
|
CPPFLAGS= $(DEFINES) $(INCLUDES)
|
||||||
#If compiling with GCC 2.95.x remove the -lstdc++
|
LIBS = -lmingw32 -lwinmm -lmad $(SDL_LIBS)
|
||||||
LIBS = -lmingw32 -lwinmm -lmad -lstdc++ $(SDL_LIBS)
|
|
||||||
EXEEXT :=.exe
|
EXEEXT :=.exe
|
||||||
|
|
||||||
# Uncomment this for SDL normal output
|
# Uncomment this for SDL normal output
|
||||||
|
Loading…
Reference in New Issue
Block a user