view Makefile.w64 @ 225:15a51252b73a

Adjust to fit th-libs API change for th_vprintf_altfmt_func.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 31 Dec 2019 05:20:17 +0200
parents d4246534daad
children a5bc27d26174
line wrap: on
line source

#
# For win64 version cross-compilation with MinGW suite @ Linux
#

# Compiler, flags and linker flags
BINTOOL_PREFIX=x86_64-w64-mingw32-

CFLAGS += -mconsole \
	-DTH_BYTEORDER=TH_LITTLE_ENDIAN \
	-D_NO_BOOL_TYPEDEF \
	-DHAVE_STRING_H \
	-DHAVE_STDINT_H

LDFLAGS += -s

# Miscellaneous
EXEEXT=.exe
OBJPATH=./obj/win64/
BINPATH=./


###
### Stuff
###
include Makefile.gen