annotate spectrum-compare/Makefile.linux @ 7:7cdaaf6f64f1

More tests
author Chris Cannam
date Tue, 03 Feb 2015 13:43:02 +0000
parents 1924df3245f4
children
rev   line source
Chris@0 1
Chris@0 2 ## Makefile for Vamp plugin using GNU tools on Linux.
Chris@0 3 ##
Chris@0 4 ## Edit this to adjust compiler and library settings when
Chris@0 5 ## building for Linux.
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 -msse -msse2 -mfpmath=sse -ftree-vectorize -fPIC
Chris@0 18
Chris@0 19
Chris@0 20 # Location of Vamp plugin SDK relative to the project directory
Chris@0 21
Chris@0 22 VAMPSDK_DIR := ../vamp-plugin-sdk
Chris@0 23
Chris@0 24
Chris@0 25 # Libraries and linker flags required by plugin: add any -l<library>
Chris@0 26 # options here
Chris@0 27
Chris@0 28 PLUGIN_LDFLAGS := -shared -Wl,-Bsymbolic -Wl,-z,defs -Wl,--version-script=vamp-plugin.map $(VAMPSDK_DIR)/libvamp-sdk.a
Chris@0 29
Chris@0 30
Chris@0 31 # File extension for plugin library on this platform
Chris@0 32
Chris@0 33 PLUGIN_EXT := .so
Chris@0 34
Chris@0 35
Chris@0 36 include Makefile.inc
Chris@0 37
Chris@0 38