Mercurial > hg > sidinfo
annotate Makefile.w32 @ 157:8fc887cb56d0
Implement iconv support for converting from PSID de-facto latin-1/ISO-8859-*
to whatever we are using currently (default to UTF-8). Support for iconv can
be turned off via compile-time define (see Makefile).
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 26 Oct 2017 01:46:34 +0300 |
parents | d73b74602759 |
children | 72c415154700 |
rev | line source |
---|---|
0 | 1 # |
2 # For win32 version cross-compilation with MinGW suite @ Linux | |
3 # | |
4 | |
130 | 5 # Compiler, flags and linker flags |
6 BINTOOL_PREFIX=i686-w64-mingw32- | |
7 WINDRES = $(BINTOOL_PREFIX)windres | |
0 | 8 |
68 | 9 CFLAGS += -DHAVE_STRING_H -DTH_BYTEORDER=TH_LITTLE_ENDIAN -mconsole |
10 LDFLAGS += -s | |
0 | 11 |
12 # Miscellaneous | |
13 EXEEXT=.exe | |
14 OBJPATH=obj/win32/ | |
4 | 15 BINPATH=./ |
16 | |
0 | 17 |
4 | 18 ### |
19 ### Stuff | |
20 ### | |
0 | 21 include Makefile.gen |
4 | 22 |