Mercurial > hg > nnchat
annotate Makefile.w32 @ 83:9baefdd4179c
Use win32/ subdirectory for object files also.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 20 Apr 2009 22:03:14 +0300 |
parents | 3ab7751fdad1 |
children | 9140c33296a8 |
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 | |
83
9baefdd4179c
Use win32/ subdirectory for object files also.
Matti Hamalainen <ccr@tnsp.org>
parents:
68
diff
changeset
|
16 OBJPATH=win32/ |
0 | 17 |
18 include Makefile.gen |