From: Dirk Hohndel Date: Sat, 29 Oct 2011 17:27:49 +0000 (-0700) Subject: Get rid of the terminal window that is displayed under Windows X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=ae8bf9f6f417d8d8eed10796f234367a015e837d;p=ext%2Fsubsurface.git Get rid of the terminal window that is displayed under Windows Thanks to Michael Wiedmann I now know the magic incantation to get MinGW to create a Windows executable that doesn't open two windows, a text console and the actual gtk window. Signed-off-by: Dirk Hohndel --- diff --git a/Makefile b/Makefile index 5b5adb0..0d736e1 100644 --- a/Makefile +++ b/Makefile @@ -35,6 +35,7 @@ ifeq ($(CC), i686-w64-mingw32-gcc) LIBDIVECOMPUTERINCLUDES = `$(PKGCONFIG) --cflags libdivecomputer` LIBDIVECOMPUTERARCHIVE = `$(PKGCONFIG) --libs libdivecomputer` RESFILE = packaging/windows/subsurface.res + LDFLAGS += -Wl,-subsystem,windows else libdc-local := $(wildcard /usr/local/lib/libdivecomputer.a)