Mercurial > hg > nnchat
annotate Makefile.w32 @ 68:3ab7751fdad1
MingW compatibility, with one ugly kludge.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 14 Nov 2008 07:15:57 +0200 |
parents | 6a3a917303e4 |
children | 9baefdd4179c |
rev | line source |
---|---|
0 | 1 # |
2 # For win32 version cross-compilation with MiNGW suite @ Linux | |
3 # | |
64
6a3a917303e4
Some random cleanups, bring back WinSock support.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
4 PATH=/usr/local/i386-mingw32/bin:/usr/bin:/bin |
0 | 5 PREFIX=./win32/ |
6 BINPATH=./win32/ | |
7 | |
8 # C-compiler, flags and linker flags | |
9 CC=gcc | |
68
3ab7751fdad1
MingW compatibility, with one ugly kludge.
Matti Hamalainen <ccr@tnsp.org>
parents:
64
diff
changeset
|
10 CFLAGS=-DHAVE_STRING_H -Ipdcurses |
3ab7751fdad1
MingW compatibility, with one ugly kludge.
Matti Hamalainen <ccr@tnsp.org>
parents:
64
diff
changeset
|
11 LDFLAGS=-L/usr/local/i386-mingw32/lib/ pdcurses/pdcurses.a -liberty -lws2_32 -s |
0 | 12 |
13 # Miscellaneous | |
14 RM=rm | |
15 EXEEXT=.exe | |
16 | |
17 include Makefile.gen |