view Makefile.w32 @ 226:c32015f4969e

Rename PSIDHeader struct to SIDLibPSIDHeader to conform with the SIDLib prefix used otherwise. Add new function sidlib_read_sid_file_alloc() which allocates the PSID header struct, instead of sidlib_read_sid_file() which just reads into the given struct.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 03 Jan 2020 10:38:18 +0200
parents d4246534daad
children a5bc27d26174
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_STDINT_H

LDFLAGS += -s

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


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