Mercurial > hg > dmlib
comparison Makefile.cross-mingw @ 2418:8abdd95139d6
Build system cleanups: reordering, more comments.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 14 Jan 2020 03:01:00 +0200 |
parents | 69a5af2eb1ea |
children | 71f04d8e791e |
comparison
equal
deleted
inserted
replaced
2417:9b4958ef4af2 | 2418:8abdd95139d6 |
---|---|
1 # | 1 ### |
2 # For Win32/Win64 version cross-compilation via MinGW | 2 ### For Win32/Win64 version cross-compilation via MinGW |
3 # compiler suite under Linux/Unix | 3 ### compiler suite under Linux/Unix |
4 ### | |
4 # | 5 # |
5 # This Makefile assumes that you have MinGW installed under /usr | 6 # This Makefile assumes that you have MinGW installed under /usr |
6 # the way Debian MinGW packages do. It also assumes that you have | 7 # the way Debian MinGW packages do. It also assumes that you have |
7 # built/installed libogg, Tremor, libpng16, SDL2 ad SDL2_ttf under | 8 # built/installed libogg, Tremor, libpng16, SDL2 ad SDL2_ttf under |
8 # /usr/local in similar fashion. | 9 # __ /usr/local __ (not /usr!) in similar fashion. |
9 # | 10 # |
10 # For differing configurations you will have to either edit this | 11 # For differing configurations you will have to either edit this |
11 # file or alternatively provide make parameters, e.g. | 12 # file or alternatively provide make parameters, e.g. |
12 # | 13 # |
13 # make -f Makefile.cross-mingw MINGW=64 BINTOOL_PREFIX=foo-bar-zoo | 14 # make -f Makefile.cross-mingw MINGW=64 BINTOOL_PREFIX=foo-bar-zoo |
47 | 48 |
48 ZLIB_CFLAGS ?= | 49 ZLIB_CFLAGS ?= |
49 #ZLIB_LDFLAGS ?= $(MINGW_LOCAL_PATH)/lib/libz.a | 50 #ZLIB_LDFLAGS ?= $(MINGW_LOCAL_PATH)/lib/libz.a |
50 ZLIB_LDFLAGS ?= $(MINGW_SYS_PATH)/lib/libz.a | 51 ZLIB_LDFLAGS ?= $(MINGW_SYS_PATH)/lib/libz.a |
51 | 52 |
52 | |
53 TOOL_LDFLAGS ?= -mconsole -lmingw32 | 53 TOOL_LDFLAGS ?= -mconsole -lmingw32 |
54 | 54 |
55 include $(DMLIB)Makefile.gen | 55 include $(DMLIB)Makefile.gen |