annotate Makefile.w32 @ 339:923e63b9653b

Cleanup.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 13 Jan 2020 15:14:16 +0200
parents 4c00b579d7ac
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
1 #
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
2 # For win32 version cross-compilation with MinGW suite @ Linux
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
3 #
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
4
130
d73b74602759 Build system cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 69
diff changeset
5 # Compiler, flags and linker flags
d73b74602759 Build system cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 69
diff changeset
6 BINTOOL_PREFIX=i686-w64-mingw32-
0
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
7
219
d4246534daad Makefile cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 202
diff changeset
8 CFLAGS += -mconsole \
d4246534daad Makefile cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 202
diff changeset
9 -DTH_BYTEORDER=TH_LITTLE_ENDIAN \
d4246534daad Makefile cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 202
diff changeset
10 -D_NO_BOOL_TYPEDEF \
d4246534daad Makefile cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 202
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: 202
diff changeset
13
d4246534daad Makefile cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 202
diff changeset
14 LDFLAGS += -s
202
ae3e353731ae Build system cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 190
diff changeset
15
0
8e7e08bf7b9e Initial import.
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: 202
diff changeset
18 OBJPATH=./obj/win32/
4
ea774012d049 Fix build system.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
19 BINPATH=./
ea774012d049 Fix build system.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
20
0
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
21
4
ea774012d049 Fix build system.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
22 ###
ea774012d049 Fix build system.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
23 ### Stuff
ea774012d049 Fix build system.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
24 ###
0
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
25 include Makefile.gen
4
ea774012d049 Fix build system.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
26