annotate Makefile.linux @ 57:252d2b03f4a8

Added tag v1.0 for changeset f1c128d0f78c
author Chris Cannam
date Thu, 16 Oct 2014 14:22:50 +0100
parents 44d8e5dc1902
children a3d463ea7a57
rev   line source
Chris@37 1
Chris@37 2 ## Makefile for Vamp plugin using GNU tools on Linux.
Chris@37 3 ##
Chris@37 4 ## Edit this to adjust compiler and library settings when
Chris@37 5 ## building for Linux.
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
Chris@37 11 # For a debug build...
Chris@37 12
Chris@37 13 CFLAGS := -Wall -Wextra -g -fPIC
Chris@37 14
Chris@37 15 # ... or for a release build
Chris@37 16
Chris@37 17 #CFLAGS := -Wall -Wextra -O3 -msse -msse2 -mfpmath=sse -ftree-vectorize -fPIC
Chris@37 18
Chris@37 19
Chris@37 20 # Location of Vamp plugin SDK relative to the project directory
Chris@37 21
Chris@37 22 VAMPSDK_DIR := ../vamp-plugin-sdk
Chris@37 23
Chris@37 24
Chris@37 25 # Libraries and linker flags required by plugin: add any -l<library>
Chris@37 26 # options here
Chris@37 27
Chris@37 28 PLUGIN_LDFLAGS := -shared -Wl,-Bsymbolic -Wl,-z,defs -Wl,--version-script=vamp-plugin.map $(VAMPSDK_DIR)/libvamp-sdk.a
Chris@37 29
Chris@37 30
Chris@37 31 # File extension for plugin library on this platform
Chris@37 32
Chris@37 33 PLUGIN_EXT := .so
Chris@37 34
Chris@37 35
Chris@37 36 include Makefile.inc
Chris@37 37
Chris@37 38