# HG changeset patch # User Matti Hamalainen # Date 1307094550 -10800 # Node ID 1cb8c2aa1ee74a0ff04513d3e98fda8798af2f6a # Parent d04ea4395e9e6b6f5988c5c6ec00b2686a8113a2 Compile MinGW/Windows version as -mwindows and not as a console application. diff -r d04ea4395e9e -r 1cb8c2aa1ee7 Makefile.w32 --- 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)