Mercurial > hg > sidinfo
annotate Makefile.w32 @ 111:c7ecf56d23e7
Rename a variable.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 15 Feb 2016 10:36:26 +0200 |
parents | 19cbd8642875 |
children | d73b74602759 |
rev | line source |
---|---|
0 | 1 # |
2 # For win32 version cross-compilation with MinGW suite @ Linux | |
3 # | |
4 | |
5 # C-compiler, flags and linker flags | |
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 | 11 |
68 | 12 CFLAGS += -DHAVE_STRING_H -DTH_BYTEORDER=TH_LITTLE_ENDIAN -mconsole |
13 LDFLAGS += -s | |
0 | 14 |
15 # Miscellaneous | |
16 EXEEXT=.exe | |
17 OBJPATH=obj/win32/ | |
4 | 18 BINPATH=./ |
19 | |
0 | 20 |
4 | 21 ### |
22 ### Stuff | |
23 ### | |
0 | 24 include Makefile.gen |
4 | 25 |