annotate Makefile.linux @ 33:b21704074c9c spect tip

Ensure default parameter values match the actual internal defaults
author Chris Cannam
date Fri, 07 Feb 2020 11:49:39 +0000
parents 390720c55c86
children
rev   line source
Chris@3 1
Chris@3 2 ## Makefile for Vamp plugin using GNU tools on Linux.
Chris@3 3 ##
Chris@3 4 ## Edit this to adjust compiler and library settings when
Chris@3 5 ## building for Linux.
Chris@3 6 ##
Chris@3 7 ## Note that the list of source files, etc, goes in Makefile.inc
Chris@3 8 ## instead so that it can be included by all platform Makefiles.
Chris@3 9
Chris@3 10
Chris@3 11 # For a debug build...
Chris@3 12
Chris@4 13 #CFLAGS := -Wall -Wextra -g -fPIC
Chris@3 14
Chris@3 15 # ... or for a release build
Chris@3 16
Chris@4 17 CFLAGS := -Wall -Wextra -O3 -msse -msse2 -mfpmath=sse -ftree-vectorize -fPIC
Chris@3 18
Chris@3 19
Chris@3 20 # Libraries and linker flags required by plugin: add any -l<library>
Chris@3 21 # options here
Chris@3 22
Chris@26 23 PLUGIN_LDFLAGS := -shared -Wl,-Bsymbolic -Wl,-z,defs -Wl,--version-script=vamp-plugin.map
Chris@3 24
Chris@3 25
Chris@3 26 # File extension for plugin library on this platform
Chris@3 27
Chris@3 28 PLUGIN_EXT := .so
Chris@3 29
Chris@3 30
Chris@3 31 include Makefile.inc
Chris@3 32
Chris@3 33