changeset 269:1cb8c2aa1ee7 dev-0_8_13

Compile MinGW/Windows version as -mwindows and not as a console application.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 03 Jun 2011 12:49:10 +0300
parents d04ea4395e9e
children 67ff0c9ed5fb
files Makefile.w32
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.w32	Fri Jun 03 12:48:46 2011 +0300
+++ b/Makefile.w32	Fri Jun 03 12:49:10 2011 +0300
@@ -8,10 +8,10 @@
 
 # C-compiler, flags and linker flags
 CC=gcc
-CFLAGS=-DHAVE_STRING_H -Ipdcurses
+CFLAGS=-DHAVE_STRING_H -Ipdcurses -mwindows
 
 # Library path must be defined correctly here
-LDFLAGS=-L/usr/local/i386-mingw32/lib/ -liberty -lws2_32 -lole32 -s
+LDFLAGS=-L/usr/local/i386-mingw32/lib/ -liberty -lws2_32 -lole32 -s -mwindows
 
 # Link PDCurses static library here .. you will want to change this
 ifeq ($(SDL),y)