60 lines
2.0 KiB
Makefile
60 lines
2.0 KiB
Makefile
# ******************************************************************************
|
|
# config.mingw.mk make-it-quick project
|
|
# ******************************************************************************
|
|
#
|
|
# File description:
|
|
#
|
|
# Configuration file when building with MinGW
|
|
#
|
|
#
|
|
#
|
|
#
|
|
#
|
|
#
|
|
#
|
|
#
|
|
# ******************************************************************************
|
|
# This software is licensed under the GNU General Public License v3
|
|
# (C) 2017-2019, Christophe de Dinechin <christophe@dinechin.org>
|
|
# ******************************************************************************
|
|
# This file is part of make-it-quick
|
|
#
|
|
# make-it-quick is free software: you can r 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, in a file named COPYING.
|
|
# If not, see <https://www.gnu.org/licenses/>.
|
|
# ******************************************************************************
|
|
|
|
#------------------------------------------------------------------------------
|
|
# Tools
|
|
#------------------------------------------------------------------------------
|
|
|
|
DEFINES_BUILDENV_mingw=CONFIG_MINGW UNICODE _WIN32 WIN32
|
|
OS_NAME_BUILDENV_mingw=windows
|
|
|
|
include $(MIQ)config.gnu.mk
|
|
|
|
# On Windows, DLLs have to go with the .exe
|
|
PREFIX.dll:=$(PREFIX.dll:$(PREFIX.lib)=$(PREFIX.bin))
|
|
|
|
# Windows overrides for extensions
|
|
EXT.exe= .exe
|
|
EXT.lib= .a
|
|
EXT.dll= .dll
|
|
|
|
# MinGW has no 'install' program
|
|
INSTALL= cp
|
|
INSTALL.data= $(INSTALL)
|
|
|
|
# All code is PIC in MinGW, so avoid a warning
|
|
CFLAGS_PIC=
|