From 68c060405ce04ba34cb0252498e54ab77d57cc4b Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Fri, 26 Sep 2003 00:09:09 +0000 Subject: Add optional define for no console svn-id: r10410 --- Makefile.mingw | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile.mingw') diff --git a/Makefile.mingw b/Makefile.mingw index 0788ac5916..4a75442532 100644 --- a/Makefile.mingw +++ b/Makefile.mingw @@ -17,15 +17,20 @@ RM_REC = $(RM) -r ZIP = zip -q CP = cp +### Uncomment these 2 lines,if you want to build ScummVM +### as a consoleless Win32 application +#DEFINES = -DNO_CONSOLE +#LIBS=-mwindows + ####################################################################### # Default compilation parameters. Normally don't edit these # ####################################################################### CXXFLAGS:= -g -O -Wall -Wuninitialized -Wno-long-long -Wno-multichar -Wno-unknown-pragmas -DEFINES := +DEFINES += LDFLAGS := INCLUDES:= -I. -Icommon -Iscumm $(SDL_CFLAGS) -LIBS := $(SDL_LIBS) -lmingw32 -lwinmm -lopengl32 +LIBS += $(SDL_LIBS) -lmingw32 -lwinmm -lopengl32 OBJS := scummvmico.o backends/sdl/sdl-common.o backends/sdl/sdl_gl.o EXEEXT :=.exe -- cgit v1.2.3