view Makefile.w32 @ 128:2636185649c6

Add si_fread_str() helper function.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 27 Oct 2016 11:58:52 +0300
parents 19cbd8642875
children d73b74602759
line wrap: on
line source

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

# C-compiler, flags and linker flags
MINGW_PREFIX=i686-w64-mingw32-
CC = $(MINGW_PREFIX)gcc
AR = $(MINGW_PREFIX)ar
RANLIB = $(MINGW_PREFIX)ranlib
WINDRES = $(MINGW_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