aboutsummaryrefslogtreecommitdiff
path: root/Makefile.mingw
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.mingw')
-rw-r--r--Makefile.mingw7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.mingw b/Makefile.mingw
index b4de3c58fc..7c395d8ba8 100644
--- a/Makefile.mingw
+++ b/Makefile.mingw
@@ -11,13 +11,16 @@ SDL_LIBS=-L$(SRC)/sdl/lib -lSDLmain -lSDL
CC = gcc
CFLAGS = -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar
DEFINES = -DCOMPRESSED_SOUND_FILE
-LDFLAGS :=-mwindows -mconsole
+LDFLAGS :=-mwindows
INCLUDES:= $(SDL_CFLAGS) -I./ -I./sound
CPPFLAGS= $(DEFINES) $(INCLUDES)
LIBS = -lmingw32 -lwinmm -lmad $(SDL_LIBS)
EXEEXT :=.exe
-OBJS = sdl.o
+OBJS = sdl.o scummvmico.o
+
+scummvmico.o: scummvm.ico
+ windres scummvm.rc scummvmico.o
include Makefile.common