view Makefile.w32 @ 190:72c415154700

Disable BOOL type that comes from Windows header files.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 09 Jul 2018 09:42:33 +0300
parents d73b74602759
children ae3e353731ae
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 -D_NO_BOOL_TYPEDEF
LDFLAGS += -s

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


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