annotate Makefile.w32 @ 202:ae3e353731ae

Build system cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 01 Dec 2018 06:03:15 +0200
parents 72c415154700
children d4246534daad
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-
d73b74602759 Build system cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 69
diff changeset
7 WINDRES = $(BINTOOL_PREFIX)windres
0
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
8
202
ae3e353731ae Build system cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 190
diff changeset
9 CFLAGS += -DTH_BYTEORDER=TH_LITTLE_ENDIAN -mconsole -D_NO_BOOL_TYPEDEF
68
8dda5f225083 Improve build process.
Matti Hamalainen <ccr@tnsp.org>
parents: 4
diff changeset
10 LDFLAGS += -s
0
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
11
202
ae3e353731ae Build system cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 190
diff changeset
12 CFLAGS += -DHAVE_STRING_H
ae3e353731ae Build system cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 190
diff changeset
13 CFLAGS += -DHAVE_STDINT_H
ae3e353731ae Build system cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 190
diff changeset
14 #CFLAGS += -DHAVE_SYS_TYPES_H
ae3e353731ae Build system cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 190
diff changeset
15 #CFLAGS += -DHAVE_INTTYPES_H
ae3e353731ae Build system cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 190
diff changeset
16
0
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
17 # Miscellaneous
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
18 EXEEXT=.exe
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
19 OBJPATH=obj/win32/
4
ea774012d049 Fix build system.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
20 BINPATH=./
ea774012d049 Fix build system.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
21
0
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
22
4
ea774012d049 Fix build system.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
23 ###
ea774012d049 Fix build system.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
24 ### Stuff
ea774012d049 Fix build system.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
25 ###
0
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
26 include Makefile.gen
4
ea774012d049 Fix build system.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
27