Mercurial > hg > vamp-tempogram
annotate Makefile.mingw32 @ 47:cb79f27f0748
Clamp cyclic tempogram min and max BPM to the BPM equivalents of the actual underlying min and max tempogram bins, rather than the "input" min and max BPM (fixed root cause of #1054)
author | Chris Cannam |
---|---|
date | Mon, 29 Sep 2014 16:20:16 +0100 |
parents | 44d8e5dc1902 |
children | a3d463ea7a57 |
rev | line source |
---|---|
Chris@37 | 1 |
Chris@37 | 2 ## Makefile for Vamp plugin using MinGW tools on Windows. |
Chris@37 | 3 ## |
Chris@37 | 4 ## Edit this to adjust compiler and library settings when |
Chris@37 | 5 ## building using MinGW. |
Chris@37 | 6 ## |
Chris@37 | 7 ## Note that the list of source files, etc, goes in Makefile.inc |
Chris@37 | 8 ## instead so that it can be included by all platform Makefiles. |
Chris@37 | 9 |
Chris@37 | 10 TOOLPREFIX ?= |
Chris@37 | 11 CXX = $(TOOLPREFIX)g++ |
Chris@37 | 12 CC = $(TOOLPREFIX)gcc |
Chris@37 | 13 LD = $(TOOLPREFIX)g++ |
Chris@37 | 14 AR = $(TOOLPREFIX)ar |
Chris@37 | 15 RANLIB = $(TOOLPREFIX)ranlib |
Chris@37 | 16 |
Chris@37 | 17 |
Chris@37 | 18 # For a debug build... |
Chris@37 | 19 |
Chris@37 | 20 CFLAGS := -Wall -Wextra -g |
Chris@37 | 21 |
Chris@37 | 22 # ... or for a release build |
Chris@37 | 23 |
Chris@37 | 24 #CFLAGS := -Wall -Wextra -O3 -ftree-vectorize |
Chris@37 | 25 |
Chris@37 | 26 |
Chris@37 | 27 # Location of Vamp plugin SDK relative to the project directory |
Chris@37 | 28 |
Chris@37 | 29 VAMPSDK_DIR := ../vamp-plugin-sdk |
Chris@37 | 30 |
Chris@37 | 31 |
Chris@37 | 32 # Libraries and linker flags required by plugin: add any -l<library> |
Chris@37 | 33 # options here |
Chris@37 | 34 |
Chris@37 | 35 PLUGIN_LDFLAGS := -shared -static -Wl,--retain-symbols-file=vamp-plugin.list $(VAMPSDK_DIR)/libvamp-sdk.a |
Chris@37 | 36 |
Chris@37 | 37 |
Chris@37 | 38 # File extension for plugin library on this platform |
Chris@37 | 39 |
Chris@37 | 40 PLUGIN_EXT := .dll |
Chris@37 | 41 |
Chris@37 | 42 |
Chris@37 | 43 include Makefile.inc |