annotate Makefile.w64 @ 338:b71c2dda6c6b

Update NEWS.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 13 Jan 2020 14:47:39 +0200
parents 4c00b579d7ac
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
218
40e3e25b9586 Add Makefile for win64 cross-compilation via MinGW.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
1 #
40e3e25b9586 Add Makefile for win64 cross-compilation via MinGW.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
2 # For win64 version cross-compilation with MinGW suite @ Linux
40e3e25b9586 Add Makefile for win64 cross-compilation via MinGW.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
3 #
40e3e25b9586 Add Makefile for win64 cross-compilation via MinGW.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
4
40e3e25b9586 Add Makefile for win64 cross-compilation via MinGW.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
5 # Compiler, flags and linker flags
40e3e25b9586 Add Makefile for win64 cross-compilation via MinGW.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
6 BINTOOL_PREFIX=x86_64-w64-mingw32-
40e3e25b9586 Add Makefile for win64 cross-compilation via MinGW.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
7
219
d4246534daad Makefile cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 218
diff changeset
8 CFLAGS += -mconsole \
d4246534daad Makefile cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 218
diff changeset
9 -DTH_BYTEORDER=TH_LITTLE_ENDIAN \
d4246534daad Makefile cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 218
diff changeset
10 -D_NO_BOOL_TYPEDEF \
d4246534daad Makefile cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 218
diff changeset
11 -DHAVE_STRING_H \
298
4c00b579d7ac Build system define fixes.
Matti Hamalainen <ccr@tnsp.org>
parents: 274
diff changeset
12 -DHAVE_INTTYPES_H
219
d4246534daad Makefile cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 218
diff changeset
13
d4246534daad Makefile cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 218
diff changeset
14 LDFLAGS += -s
218
40e3e25b9586 Add Makefile for win64 cross-compilation via MinGW.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
15
40e3e25b9586 Add Makefile for win64 cross-compilation via MinGW.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
16 # Miscellaneous
274
a5bc27d26174 Rename EXEEXT to BINEXT in the build system, as per changes in th-libs build system.
Matti Hamalainen <ccr@tnsp.org>
parents: 219
diff changeset
17 BINEXT=.exe
219
d4246534daad Makefile cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 218
diff changeset
18 OBJPATH=./obj/win64/
218
40e3e25b9586 Add Makefile for win64 cross-compilation via MinGW.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
19 BINPATH=./
40e3e25b9586 Add Makefile for win64 cross-compilation via MinGW.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
20
40e3e25b9586 Add Makefile for win64 cross-compilation via MinGW.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
21
40e3e25b9586 Add Makefile for win64 cross-compilation via MinGW.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
22 ###
40e3e25b9586 Add Makefile for win64 cross-compilation via MinGW.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
23 ### Stuff
40e3e25b9586 Add Makefile for win64 cross-compilation via MinGW.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
24 ###
40e3e25b9586 Add Makefile for win64 cross-compilation via MinGW.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
25 include Makefile.gen