Mercurial > hg > tuning-difference
annotate spectrum-compare-plugin/Makefile.osx @ 13:c74071731d74
The bulk of the chroma-compare implementation. Should be using the newly refactored Chromagram class from libcq though (chroma is currently upside-down!)
author | Chris Cannam |
---|---|
date | Wed, 04 Feb 2015 15:10:07 +0000 |
parents | 23572f9d25d9 |
children |
rev | line source |
---|---|
Chris@0 | 1 |
Chris@0 | 2 ## Makefile for Vamp plugin using command-line tools on OS/X. |
Chris@0 | 3 ## |
Chris@0 | 4 ## Edit this to adjust compiler and library settings when |
Chris@0 | 5 ## building for OS/X. |
Chris@0 | 6 ## |
Chris@0 | 7 ## Note that the list of source files, etc, goes in Makefile.inc |
Chris@0 | 8 ## instead so that it can be included by all platform Makefiles. |
Chris@0 | 9 |
Chris@0 | 10 |
Chris@0 | 11 # For a debug build... |
Chris@0 | 12 |
Chris@0 | 13 CFLAGS := -Wall -Wextra -g -fPIC |
Chris@0 | 14 |
Chris@0 | 15 # ... or for a release build |
Chris@0 | 16 |
Chris@0 | 17 #CFLAGS := -Wall -Wextra -O3 -ftree-vectorize -fPIC |
Chris@0 | 18 |
Chris@0 | 19 |
Chris@0 | 20 # Flags to determine processor architecture and system SDK |
Chris@0 | 21 |
Chris@0 | 22 ARCHFLAGS ?= -mmacosx-version-min=10.6 -arch x86_64 -arch i386 |
Chris@0 | 23 |
Chris@0 | 24 |
Chris@0 | 25 # Location of Vamp plugin SDK relative to the project directory |
Chris@0 | 26 |
Chris@0 | 27 VAMPSDK_DIR := ../vamp-plugin-sdk |
Chris@0 | 28 |
Chris@0 | 29 |
Chris@0 | 30 # Libraries and linker flags required by plugin: add any -l<library> |
Chris@0 | 31 # options here |
Chris@0 | 32 |
Chris@0 | 33 PLUGIN_LDFLAGS := -dynamiclib -exported_symbols_list vamp-plugin.list $(VAMPSDK_DIR)/libvamp-sdk.a |
Chris@0 | 34 |
Chris@0 | 35 |
Chris@0 | 36 # File extension for plugin library on this platform |
Chris@0 | 37 |
Chris@0 | 38 PLUGIN_EXT := .dylib |
Chris@0 | 39 |
Chris@0 | 40 |
Chris@0 | 41 include Makefile.inc |
Chris@0 | 42 |
Chris@0 | 43 |