Mercurial > hg > vamp-plugin-sdk
annotate skeleton/Makefile.mingw32 @ 434:e979a9c4ffb6 vampipe
Switch from Cross FFT with option of FFTW build, to KissFFT only (code bundled). This is much faster than the default build and simpler than managing two options.
author | Chris Cannam |
---|---|
date | Tue, 16 Aug 2016 16:04:09 +0100 |
parents | 29a73259f59a |
children |
rev | line source |
---|---|
Chris@378 | 1 |
Chris@378 | 2 ## Makefile for Vamp plugin using MinGW tools on Windows. |
Chris@378 | 3 ## |
Chris@378 | 4 ## Edit this to adjust compiler and library settings when |
Chris@378 | 5 ## building using MinGW. |
Chris@378 | 6 ## |
Chris@378 | 7 ## Note that the list of source files, etc, goes in Makefile.inc |
Chris@378 | 8 ## instead so that it can be included by all platform Makefiles. |
Chris@378 | 9 |
Chris@378 | 10 TOOLPREFIX ?= |
Chris@378 | 11 CXX = $(TOOLPREFIX)g++ |
Chris@378 | 12 CC = $(TOOLPREFIX)gcc |
Chris@378 | 13 LD = $(TOOLPREFIX)g++ |
Chris@378 | 14 AR = $(TOOLPREFIX)ar |
Chris@378 | 15 RANLIB = $(TOOLPREFIX)ranlib |
Chris@378 | 16 |
Chris@378 | 17 |
Chris@378 | 18 # For a debug build... |
Chris@378 | 19 |
Chris@378 | 20 CFLAGS := -Wall -Wextra -g |
Chris@378 | 21 |
Chris@378 | 22 # ... or for a release build |
Chris@378 | 23 |
Chris@378 | 24 #CFLAGS := -Wall -Wextra -O3 -ftree-vectorize |
Chris@378 | 25 |
Chris@378 | 26 |
Chris@378 | 27 # Location of Vamp plugin SDK relative to the project directory |
Chris@378 | 28 |
Chris@378 | 29 VAMPSDK_DIR := ../vamp-plugin-sdk |
Chris@378 | 30 |
Chris@378 | 31 |
Chris@378 | 32 # Libraries and linker flags required by plugin: add any -l<library> |
Chris@378 | 33 # options here |
Chris@378 | 34 |
Chris@378 | 35 PLUGIN_LDFLAGS := -shared -static -Wl,--retain-symbols-file=vamp-plugin.list $(VAMPSDK_DIR)/libvamp-sdk.a |
Chris@378 | 36 |
Chris@378 | 37 |
Chris@378 | 38 # File extension for plugin library on this platform |
Chris@378 | 39 |
Chris@378 | 40 PLUGIN_EXT := .dll |
Chris@378 | 41 |
Chris@378 | 42 |
Chris@378 | 43 include Makefile.inc |