Mercurial > hg > th-libs
diff Makefile.w32 @ 434:8c3b3d8009f6
Add Mingw/win32 cross-build Makefile.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 07 Apr 2017 02:48:54 +0300 |
parents | |
children | efd33accdc81 |
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 +