annotate Makefile.linux @ 6:cd6169f7940a perf

Remove some debug
author Chris Cannam
date Tue, 02 Oct 2018 13:13:36 +0100
parents ac5ac9ef440b
children 390720c55c86
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 # Location of Vamp plugin SDK relative to the project directory
Chris@3 21
Chris@3 22 VAMPSDK_DIR := ../vamp-plugin-sdk
Chris@3 23
Chris@3 24
Chris@3 25 # Libraries and linker flags required by plugin: add any -l<library>
Chris@3 26 # options here
Chris@3 27
Chris@3 28 PLUGIN_LDFLAGS := -shared -Wl,-Bsymbolic -Wl,-z,defs -Wl,--version-script=vamp-plugin.map $(VAMPSDK_DIR)/libvamp-sdk.a
Chris@3 29
Chris@3 30
Chris@3 31 # File extension for plugin library on this platform
Chris@3 32
Chris@3 33 PLUGIN_EXT := .so
Chris@3 34
Chris@3 35
Chris@3 36 include Makefile.inc
Chris@3 37
Chris@3 38