annotate Makefile.w32 @ 128:2636185649c6

Add si_fread_str() helper function.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 27 Oct 2016 11:58:52 +0300
parents 19cbd8642875
children d73b74602759
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
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
5 # C-compiler, flags and linker flags
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
6 MINGW_PREFIX=i686-w64-mingw32-
69
19cbd8642875 Fix the build again for win32.
Matti Hamalainen <ccr@tnsp.org>
parents: 68
diff changeset
7 CC = $(MINGW_PREFIX)gcc
19cbd8642875 Fix the build again for win32.
Matti Hamalainen <ccr@tnsp.org>
parents: 68
diff changeset
8 AR = $(MINGW_PREFIX)ar
19cbd8642875 Fix the build again for win32.
Matti Hamalainen <ccr@tnsp.org>
parents: 68
diff changeset
9 RANLIB = $(MINGW_PREFIX)ranlib
19cbd8642875 Fix the build again for win32.
Matti Hamalainen <ccr@tnsp.org>
parents: 68
diff changeset
10 WINDRES = $(MINGW_PREFIX)windres
0
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
11
68
8dda5f225083 Improve build process.
Matti Hamalainen <ccr@tnsp.org>
parents: 4
diff changeset
12 CFLAGS += -DHAVE_STRING_H -DTH_BYTEORDER=TH_LITTLE_ENDIAN -mconsole
8dda5f225083 Improve build process.
Matti Hamalainen <ccr@tnsp.org>
parents: 4
diff changeset
13 LDFLAGS += -s
0
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
14
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
15 # Miscellaneous
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
16 EXEEXT=.exe
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
17 OBJPATH=obj/win32/
4
ea774012d049 Fix build system.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
18 BINPATH=./
ea774012d049 Fix build system.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
19
0
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
20
4
ea774012d049 Fix build system.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
21 ###
ea774012d049 Fix build system.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
22 ### Stuff
ea774012d049 Fix build system.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
23 ###
0
8e7e08bf7b9e Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
24 include Makefile.gen
4
ea774012d049 Fix build system.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
25