Mercurial > hg > nnchat
comparison Makefile.w32 @ 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 | 714b1919e1be |
children | 386a9febfa73 |
comparison
equal
deleted
inserted
replaced
268:d04ea4395e9e | 269:1cb8c2aa1ee7 |
---|---|
6 # Set PATH to include MinGW cross compiler path FIRST! | 6 # Set PATH to include MinGW cross compiler path FIRST! |
7 PATH=/usr/local/i386-mingw32/bin:/usr/bin:/bin:/usr/local/bin | 7 PATH=/usr/local/i386-mingw32/bin:/usr/bin:/bin:/usr/local/bin |
8 | 8 |
9 # C-compiler, flags and linker flags | 9 # C-compiler, flags and linker flags |
10 CC=gcc | 10 CC=gcc |
11 CFLAGS=-DHAVE_STRING_H -Ipdcurses | 11 CFLAGS=-DHAVE_STRING_H -Ipdcurses -mwindows |
12 | 12 |
13 # Library path must be defined correctly here | 13 # Library path must be defined correctly here |
14 LDFLAGS=-L/usr/local/i386-mingw32/lib/ -liberty -lws2_32 -lole32 -s | 14 LDFLAGS=-L/usr/local/i386-mingw32/lib/ -liberty -lws2_32 -lole32 -s -mwindows |
15 | 15 |
16 # Link PDCurses static library here .. you will want to change this | 16 # Link PDCurses static library here .. you will want to change this |
17 ifeq ($(SDL),y) | 17 ifeq ($(SDL),y) |
18 LDFLAGS+=pdcurses/libpdcurses-sdl.a -lSDL | 18 LDFLAGS+=pdcurses/libpdcurses-sdl.a -lSDL |
19 else | 19 else |