# HG changeset patch # User Matti Hamalainen # Date 1491522534 -10800 # Node ID 8c3b3d8009f6855191bdc00fb828f166018a5e61 # Parent 0a2f32b8a26ecfa3a185568c971f1660c453bb38 Add Mingw/win32 cross-build Makefile. diff -r 0a2f32b8a26e -r 8c3b3d8009f6 Makefile.w32 --- /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 +