1 ## Makefile for Vamp aubio plugin using MinGW tools on Windows.
3 ## Edit this to adjust compiler and library settings when
4 ## building using MinGW.
6 ## Note that the list of source files, etc, goes in Makefile.inc
7 ## instead so that it can be included by all platform Makefiles.
10 CXX = $(TOOLPREFIX)g++
14 RANLIB = $(TOOLPREFIX)ranlib
16 # For a debug build...
17 #CFLAGS := -Wall -Wextra -g
19 # ... or for a release build
20 CFLAGS := -Wall -Wextra -O3 -ftree-vectorize
22 # Location of Vamp plugin SDK relative to the project directory
23 VAMPSDK_DIR ?= ../vamp-plugin-sdk
25 # Location of libvamp-sdk.dll
26 VAMPDLL_DIR ?= ../vamp-plugin-sdk-2.5-binaries-win32-mingw
28 # Location of libaubio-4.dll
29 AUBIODLL_DIR ?= ../../dist-win32/usr/local/lib
31 # Libraries and linker flags required by plugin: add any -l<library>
33 PLUGIN_LDFLAGS := -shared -Wl,--retain-symbols-file=vamp-plugin.list
34 PLUGIN_LIBS := $(VAMPDLL_DIR)/libvamp-sdk.dll $(AUBIODLL_DIR)/libaubio-4.dll
37 # File extension for plugin library on this platform