comparison 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
comparison
equal deleted inserted replaced
76:9ee0edff3940 77:cc1c35357e39
1 ###
2 ### For Win32/Win64 version cross-compilation via MinGW
3 ### compiler suite under Linux/Unix
4 ###
5 #
6 # This Makefile assumes that you have MinGW installed under /usr
7 # the way Debian MinGW packages do. It also assumes that you have
8 # built/installed libogg, Tremor, libpng16, SDL2 ad SDL2_ttf under
9 # __ /usr/local __ (not /usr!) in similar fashion.
10 #
11 # For differing configurations you will have to either edit this
12 # file or alternatively provide make parameters, e.g.
13 #
14 # make -f Makefile.cross-mingw MINGW=64 BINTOOL_PREFIX=foo-bar-zoo
15 #
16
1 CXXFLAGS ?= 17 CXXFLAGS ?=
18
19 BINPATH ?= ./
2 BINEXT ?= .exe 20 BINEXT ?= .exe
3 21
4 22
5 ifeq ($(MINGW),64) 23 ifeq ($(MINGW),64)
6 BINTOOL_PREFIX ?= x86_64-w64-mingw32- 24 BINTOOL_PREFIX ?= x86_64-w64-mingw32-