Mercurial > hg > forks > gldragon
diff Makefile.cross-mingw @ 77:cc1c35357e39
Build system cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 14 Jan 2020 03:03:01 +0200 |
parents | a21f3cbaf20e |
children | 7747659639b6 |
line wrap: on
line diff
--- a/Makefile.cross-mingw Sun Jan 05 13:03:35 2020 +0200 +++ b/Makefile.cross-mingw Tue Jan 14 03:03:01 2020 +0200 @@ -1,4 +1,22 @@ +### +### For Win32/Win64 version cross-compilation via MinGW +### compiler suite under Linux/Unix +### +# +# This Makefile assumes that you have MinGW installed under /usr +# the way Debian MinGW packages do. It also assumes that you have +# built/installed libogg, Tremor, libpng16, SDL2 ad SDL2_ttf under +# __ /usr/local __ (not /usr!) in similar fashion. +# +# For differing configurations you will have to either edit this +# file or alternatively provide make parameters, e.g. +# +# make -f Makefile.cross-mingw MINGW=64 BINTOOL_PREFIX=foo-bar-zoo +# + CXXFLAGS ?= + +BINPATH ?= ./ BINEXT ?= .exe