make-it-quick/config.mingw.mk

59 lines
2.0 KiB
Makefile
Raw Permalink Normal View History

2017-03-25 06:57:50 +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>
# This software is licensed under the GNU General Public License v3
#******************************************************************************
# 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
#------------------------------------------------------------------------------
DEFINES_BUILDENV_mingw=CONFIG_MINGW UNICODE _WIN32 WIN32
OS_NAME_BUILDENV_mingw=windows
2017-03-25 06:57:50 +08:00
include $(MIQ)config.gnu.mk
2017-03-25 06:57:50 +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
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
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=