47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
#******************************************************************************
|
|
# config.mingw.mk Recorder project
|
|
#******************************************************************************
|
|
#
|
|
# File Description:
|
|
#
|
|
# Configuration file when building with MinGW
|
|
#
|
|
#
|
|
#
|
|
#
|
|
#
|
|
#
|
|
#
|
|
#
|
|
#******************************************************************************
|
|
# (C) 1992-2017 Christophe de Dinechin <christophe@dinechin.org>
|
|
#This software is licensed under the GNU General Public License v3
|
|
#See file COPYING for details.
|
|
#******************************************************************************
|
|
|
|
#------------------------------------------------------------------------------
|
|
# Tools
|
|
#------------------------------------------------------------------------------
|
|
|
|
DEFINES_mingw=CONFIG_MINGW UNICODE _WIN32 WIN32
|
|
OS_NAME_mingw=windows
|
|
|
|
include $(BUILD)config.gnu.mk
|
|
|
|
# We need a special treatment of this on Windows
|
|
POSTPROCESS_DEPENDENCY= \
|
|
( sed -e 's/.*://' -e 's/\\$$//' < $@ | \
|
|
sed -e 's/^ *//' -e 's/$$/:/' -e 's/\\\\:$$/:/' >> $@ )
|
|
|
|
# MinGW does not have --line-buffered for colorized builds
|
|
LINE_BUFFERED=
|
|
|
|
|
|
# Windows overrides for extensions
|
|
EXE_EXT= .exe
|
|
LIB_EXT= .lib
|
|
DLL_EXT= .dll
|
|
|
|
# MinGW has no 'install' program
|
|
INSTALL= cp
|