Mercurial > hg > sidinfo
annotate Makefile.w32 @ 4:ea774012d049
Fix build system.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 25 Sep 2014 01:54:33 +0300 |
parents | 8e7e08bf7b9e |
children | 8dda5f225083 |
rev | line source |
---|---|
0 | 1 # |
2 # For win32 version cross-compilation with MinGW suite @ Linux | |
3 # | |
4 | |
5 # C-compiler, flags and linker flags | |
6 MINGW_PREFIX=i686-w64-mingw32- | |
7 CC=$(MINGW_PREFIX)gcc | |
8 AR=$(MINGW_PREFIX)ar | |
9 RANLIB=$(MINGW_PREFIX)ranlib | |
10 WINDRES=$(MINGW_PREFIX)windres | |
11 | |
4 | 12 CFLAGS=-DHAVE_STRING_H -DTH_BYTEORDER=TH_LITTLE_ENDIAN -mconsole |
0 | 13 LDFLAGS= -s |
14 | |
15 # Miscellaneous | |
16 EXEEXT=.exe | |
17 OBJPATH=obj/win32/ | |
4 | 18 BINPATH=./ |
19 | |
0 | 20 |
4 | 21 ### |
22 ### Stuff | |
23 ### | |
0 | 24 include Makefile.gen |
4 | 25 |