make-it-quick/config.mingw.mk

47 lines
1.3 KiB
Makefile
Raw 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
# See LICENSE file for details.
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
2017-12-15 01:29:40 +08:00
2017-12-15 18:24:42 +08:00
# Do not add an rpath option on Windows
MAKE_DLL= $(LD) -shared $(MIQ_LDFLAGS) $(MIQ_TOLINK)-o $@
2017-12-15 18:24:42 +08:00
# All code is PIC in MinGW, so avoid a warning
CFLAGS_PIC=