view Makefile.w32 @ 203:b4a349f1c2f4

Actually fix the load address handling in hash calculation.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 11 Dec 2018 02:38:53 +0200
parents ae3e353731ae
children d4246534daad
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 += -DTH_BYTEORDER=TH_LITTLE_ENDIAN -mconsole -D_NO_BOOL_TYPEDEF
LDFLAGS += -s

CFLAGS += -DHAVE_STRING_H
CFLAGS += -DHAVE_STDINT_H
#CFLAGS += -DHAVE_SYS_TYPES_H
#CFLAGS += -DHAVE_INTTYPES_H

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


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