view Makefile.w32 @ 339:923e63b9653b

Cleanup.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 13 Jan 2020 15:14:16 +0200
parents 4c00b579d7ac
children
line wrap: on
line source

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

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

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

LDFLAGS += -s

# Miscellaneous
BINEXT=.exe
OBJPATH=./obj/win32/
BINPATH=./


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