annotate Makefile.cross-mingw @ 484:58b744131b86

Rename cross-mingw Makefile properly.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 19 Feb 2019 09:49:41 +0200
parents Makefile.w32@85fa3d333556
children ad647427303a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
434
8c3b3d8009f6 Add Mingw/win32 cross-build Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
1 #
8c3b3d8009f6 Add Mingw/win32 cross-build Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
2 # For win32 version cross-compilation with MinGW suite @ Linux
8c3b3d8009f6 Add Mingw/win32 cross-build Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
3 #
8c3b3d8009f6 Add Mingw/win32 cross-build Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
4
8c3b3d8009f6 Add Mingw/win32 cross-build Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
5 # Miscellaneous
8c3b3d8009f6 Add Mingw/win32 cross-build Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
6 BINTOOL_PREFIX = i686-w64-mingw32-
8c3b3d8009f6 Add Mingw/win32 cross-build Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
7 PREFIX =
8c3b3d8009f6 Add Mingw/win32 cross-build Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
8 BINPATH = ./
8c3b3d8009f6 Add Mingw/win32 cross-build Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
9 OBJPATH = obj/win32/
8c3b3d8009f6 Add Mingw/win32 cross-build Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
10 EXEEXT = .exe
8c3b3d8009f6 Add Mingw/win32 cross-build Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
11
8c3b3d8009f6 Add Mingw/win32 cross-build Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
12 # Compiler flags and linker flags
8c3b3d8009f6 Add Mingw/win32 cross-build Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
13 CFLAGS += -DHAVE_STRING_H -DTH_BYTEORDER=TH_LITTLE_ENDIAN -mconsole
457
85fa3d333556 Actually, revert the boolean changes .. meh.
Matti Hamalainen <ccr@tnsp.org>
parents: 453
diff changeset
14
434
8c3b3d8009f6 Add Mingw/win32 cross-build Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
15
8c3b3d8009f6 Add Mingw/win32 cross-build Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
16
8c3b3d8009f6 Add Mingw/win32 cross-build Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
17 ###
8c3b3d8009f6 Add Mingw/win32 cross-build Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
18 ### Stuff
8c3b3d8009f6 Add Mingw/win32 cross-build Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
19 ###
8c3b3d8009f6 Add Mingw/win32 cross-build Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
20 #NOINST_TARGETS += $(ENDIANCHK_BIN) config.h
8c3b3d8009f6 Add Mingw/win32 cross-build Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
21 #THLIBS_DEP += config.h
8c3b3d8009f6 Add Mingw/win32 cross-build Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
22
8c3b3d8009f6 Add Mingw/win32 cross-build Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
23 include Makefile.gen
8c3b3d8009f6 Add Mingw/win32 cross-build Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
24