2017-03-25 06:57:50 +08:00
|
|
|
#******************************************************************************
|
2018-04-03 22:44:24 +08:00
|
|
|
# config.mingw.mk Make-It-Quick project
|
2017-03-25 06:57:50 +08:00
|
|
|
#******************************************************************************
|
|
|
|
#
|
|
|
|
# File Description:
|
|
|
|
#
|
|
|
|
# Configuration file when building with MinGW
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#******************************************************************************
|
2018-04-03 21:15:09 +08:00
|
|
|
# (C) 1992-2018 Christophe de Dinechin <christophe@dinechin.org>
|
2018-04-03 22:44:24 +08:00
|
|
|
# This software is licensed under the GNU General Public License v3
|
2019-03-16 01:54:07 +08:00
|
|
|
#******************************************************************************
|
|
|
|
# This file is part of make-it-quick
|
|
|
|
#
|
|
|
|
# make-it-quick is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# make-it-quick is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with make-it-quick. If not, see <https://www.gnu.org/licenses/>.
|
2017-03-25 06:57:50 +08:00
|
|
|
#******************************************************************************
|
|
|
|
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
# Tools
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
2018-04-05 23:25:12 +08:00
|
|
|
DEFINES_BUILDENV_mingw=CONFIG_MINGW UNICODE _WIN32 WIN32
|
|
|
|
OS_NAME_BUILDENV_mingw=windows
|
2017-03-25 06:57:50 +08:00
|
|
|
|
2018-04-05 23:25:12 +08:00
|
|
|
include $(MIQ)config.gnu.mk
|
2017-03-25 06:57:50 +08:00
|
|
|
|
2017-11-09 00:32:08 +08:00
|
|
|
# On Windows, DLLs have to go with the .exe
|
|
|
|
PREFIX_DLL:=$(PREFIX_DLL:$(PREFIX_LIB)=$(PREFIX_BIN))
|
|
|
|
|
2017-03-25 06:57:50 +08:00
|
|
|
# Windows overrides for extensions
|
|
|
|
EXE_EXT= .exe
|
2017-11-09 00:06:52 +08:00
|
|
|
LIB_EXT= .a
|
2017-03-25 06:57:50 +08:00
|
|
|
DLL_EXT= .dll
|
2017-04-14 01:16:37 +08:00
|
|
|
|
|
|
|
# MinGW has no 'install' program
|
|
|
|
INSTALL= cp
|
2019-03-18 05:16:45 +08:00
|
|
|
INSTALL_DATA= $(INSTALL)
|
2017-12-15 01:29:40 +08:00
|
|
|
|
2017-12-15 18:24:42 +08:00
|
|
|
# All code is PIC in MinGW, so avoid a warning
|
|
|
|
CFLAGS_PIC=
|