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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
1 #
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
2 # For win32 version cross-compilation with MiNGW suite @ Linux
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
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
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
5 PREFIX=./win32/
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
6 BINPATH=./win32/
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
7
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
8 # C-compiler, flags and linker flags
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
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
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
12
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
13 # Miscellaneous
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
14 RM=rm
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
15 EXEEXT=.exe
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
16
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
17 include Makefile.gen