view Makefile.w64 @ 274:a5bc27d26174

Rename EXEEXT to BINEXT in the build system, as per changes in th-libs build system.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 06 Jan 2020 12:44:37 +0200
parents d4246534daad
children 4c00b579d7ac
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
BINEXT=.exe
OBJPATH=./obj/win64/
BINPATH=./


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