Mercurial > hg > sidinfo
comparison Makefile.w32 @ 130:d73b74602759
Build system cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 02 Jun 2017 02:02:18 +0300 |
parents | 19cbd8642875 |
children | 72c415154700 |
comparison
equal
deleted
inserted
replaced
129:abed2715ea68 | 130:d73b74602759 |
---|---|
1 # | 1 # |
2 # For win32 version cross-compilation with MinGW suite @ Linux | 2 # For win32 version cross-compilation with MinGW suite @ Linux |
3 # | 3 # |
4 | 4 |
5 # C-compiler, flags and linker flags | 5 # Compiler, flags and linker flags |
6 MINGW_PREFIX=i686-w64-mingw32- | 6 BINTOOL_PREFIX=i686-w64-mingw32- |
7 CC = $(MINGW_PREFIX)gcc | 7 WINDRES = $(BINTOOL_PREFIX)windres |
8 AR = $(MINGW_PREFIX)ar | |
9 RANLIB = $(MINGW_PREFIX)ranlib | |
10 WINDRES = $(MINGW_PREFIX)windres | |
11 | 8 |
12 CFLAGS += -DHAVE_STRING_H -DTH_BYTEORDER=TH_LITTLE_ENDIAN -mconsole | 9 CFLAGS += -DHAVE_STRING_H -DTH_BYTEORDER=TH_LITTLE_ENDIAN -mconsole |
13 LDFLAGS += -s | 10 LDFLAGS += -s |
14 | 11 |
15 # Miscellaneous | 12 # Miscellaneous |