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 # Libraries and linker flags required by plugin: add any -l<library>
27 PLUGIN_LDFLAGS := -shared -static -Wl,--retain-symbols-file=vamp-plugin.list $(VAMPSDK_DIR)/libvamp-sdk.a
30 # File extension for plugin library on this platform