annotate Makefile.w32 @ 434:8c3b3d8009f6

Add Mingw/win32 cross-build Makefile.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 07 Apr 2017 02:48:54 +0300
parents
children efd33accdc81
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
8c3b3d8009f6 Add Mingw/win32 cross-build Makefile.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
14
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