Chris@3: Chris@3: ## Makefile for Vamp plugin using GNU tools on Linux. Chris@3: ## Chris@3: ## Edit this to adjust compiler and library settings when Chris@3: ## building for Linux. Chris@3: ## Chris@3: ## Note that the list of source files, etc, goes in Makefile.inc Chris@3: ## instead so that it can be included by all platform Makefiles. Chris@3: Chris@3: Chris@3: # For a debug build... Chris@3: Chris@4: #CFLAGS := -Wall -Wextra -g -fPIC Chris@3: Chris@3: # ... or for a release build Chris@3: Chris@4: CFLAGS := -Wall -Wextra -O3 -msse -msse2 -mfpmath=sse -ftree-vectorize -fPIC Chris@3: Chris@3: Chris@3: # Libraries and linker flags required by plugin: add any -l Chris@3: # options here Chris@3: Chris@26: PLUGIN_LDFLAGS := -shared -Wl,-Bsymbolic -Wl,-z,defs -Wl,--version-script=vamp-plugin.map Chris@3: Chris@3: Chris@3: # File extension for plugin library on this platform Chris@3: Chris@3: PLUGIN_EXT := .so Chris@3: Chris@3: Chris@3: include Makefile.inc Chris@3: Chris@3: