Mercurial > hg > sidinfo
view Makefile.w64 @ 218:40e3e25b9586
Add Makefile for win64 cross-compilation via MinGW.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 05 Dec 2019 00:15:40 +0200 |
parents | |
children | d4246534daad |
line wrap: on
line source
# # For win64 version cross-compilation with MinGW suite @ Linux # # Compiler, flags and linker flags BINTOOL_PREFIX=x86_64-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/win64/ BINPATH=./ ### ### Stuff ### include Makefile.gen