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
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
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
6 # C-compiler, flags and linker flags
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
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
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
10
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
11 # Miscellaneous
728243125263 Import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
12 EXEEXT=.exe
87
9140c33296a8 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 83
diff changeset
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
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