view Makefile.w32 @ 156:717d143612e2

Simplify things by having separate PRS/PRI macros for printing string and integer fields. Also prepare for iconv support.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 26 Oct 2017 01:45:02 +0300
parents d73b74602759
children 72c415154700
line wrap: on
line source

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

# Compiler, flags and linker flags
BINTOOL_PREFIX=i686-w64-mingw32-
WINDRES = $(BINTOOL_PREFIX)windres

CFLAGS += -DHAVE_STRING_H -DTH_BYTEORDER=TH_LITTLE_ENDIAN -mconsole
LDFLAGS += -s

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


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