Mercurial > hg > nnchat
annotate Makefile.w32 @ 110:8af4072dc31a
Fix Win32/MinGW/PDcurses issues.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 24 Oct 2010 18:28:22 +0300 |
parents | 9140c33296a8 |
children | 4bc63a535acb |
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 |
6 # C-compiler, flags and linker flags | |
7 CC=gcc | |
68
3ab7751fdad1
MingW compatibility, with one ugly kludge.
Matti Hamalainen <ccr@tnsp.org>
parents:
64
diff
changeset
|
8 CFLAGS=-DHAVE_STRING_H -Ipdcurses |
110
8af4072dc31a
Fix Win32/MinGW/PDcurses issues.
Matti Hamalainen <ccr@tnsp.org>
parents:
87
diff
changeset
|
9 LDFLAGS=-L/usr/local/i386-mingw32/lib/ -lmingw32 pdcurses/libpdcurses.a -liberty -lws2_32 -s |
0 | 10 |
11 # Miscellaneous | |
12 EXEEXT=.exe | |
87 | 13 OBJPATH=./win32/ |
110
8af4072dc31a
Fix Win32/MinGW/PDcurses issues.
Matti Hamalainen <ccr@tnsp.org>
parents:
87
diff
changeset
|
14 #BINPATH=./win32/ |
8af4072dc31a
Fix Win32/MinGW/PDcurses issues.
Matti Hamalainen <ccr@tnsp.org>
parents:
87
diff
changeset
|
15 BINPATH=/misc/wine_c/ |
0 | 16 |
17 include Makefile.gen |