Chris@378: Chris@378: ## Makefile for Vamp plugin using MinGW tools on Windows. Chris@378: ## Chris@378: ## Edit this to adjust compiler and library settings when Chris@378: ## building using MinGW. Chris@378: ## Chris@378: ## Note that the list of source files, etc, goes in Makefile.inc Chris@378: ## instead so that it can be included by all platform Makefiles. Chris@378: Chris@378: TOOLPREFIX ?= Chris@378: CXX = $(TOOLPREFIX)g++ Chris@378: CC = $(TOOLPREFIX)gcc Chris@378: LD = $(TOOLPREFIX)g++ Chris@378: AR = $(TOOLPREFIX)ar Chris@378: RANLIB = $(TOOLPREFIX)ranlib Chris@378: Chris@378: Chris@378: # For a debug build... Chris@378: Chris@378: CFLAGS := -Wall -Wextra -g Chris@378: Chris@378: # ... or for a release build Chris@378: Chris@378: #CFLAGS := -Wall -Wextra -O3 -ftree-vectorize Chris@378: Chris@378: Chris@378: # Location of Vamp plugin SDK relative to the project directory Chris@378: Chris@378: VAMPSDK_DIR := ../vamp-plugin-sdk Chris@378: Chris@378: Chris@378: # Libraries and linker flags required by plugin: add any -l Chris@378: # options here Chris@378: Chris@378: PLUGIN_LDFLAGS := -shared -static -Wl,--retain-symbols-file=vamp-plugin.list $(VAMPSDK_DIR)/libvamp-sdk.a Chris@378: Chris@378: Chris@378: # File extension for plugin library on this platform Chris@378: Chris@378: PLUGIN_EXT := .dll Chris@378: Chris@378: Chris@378: include Makefile.inc