Mercurial > hg > sidinfo
annotate Makefile.w32 @ 0:8e7e08bf7b9e
Initial import.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 24 Sep 2014 21:20:04 +0300 |
parents | |
children | ea774012d049 |
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 | |
12 CFLAGS=-DHAVE_STRING_H -mconsole | |
13 LDFLAGS= -s | |
14 | |
15 # Miscellaneous | |
16 EXEEXT=.exe | |
17 OBJPATH=obj/win32/ | |
18 BINPATH=exe/ | |
19 | |
20 include Makefile.gen |