Mercurial > hg > th-libs
changeset 434:8c3b3d8009f6
Add Mingw/win32 cross-build Makefile.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 07 Apr 2017 02:48:54 +0300 |
parents | 0a2f32b8a26e |
children | 468d521240c6 |
files | Makefile.w32 |
diffstat | 1 files changed, 24 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile.w32 Fri Apr 07 02:48:54 2017 +0300 @@ -0,0 +1,24 @@ +# +# For win32 version cross-compilation with MinGW suite @ Linux +# + +# Miscellaneous +BINTOOL_PREFIX = i686-w64-mingw32- +PREFIX = +BINPATH = ./ +OBJPATH = obj/win32/ +EXEEXT = .exe + +# Compiler flags and linker flags +CFLAGS += -DHAVE_STRING_H -DTH_BYTEORDER=TH_LITTLE_ENDIAN -mconsole + + + +### +### Stuff +### +#NOINST_TARGETS += $(ENDIANCHK_BIN) config.h +#THLIBS_DEP += config.h + +include Makefile.gen +