Chris@0: Chris@0: ## Makefile for Vamp plugin using command-line tools on OS/X. Chris@0: ## Chris@0: ## Edit this to adjust compiler and library settings when Chris@0: ## building for OS/X. Chris@0: ## Chris@0: ## Note that the list of source files, etc, goes in Makefile.inc Chris@0: ## instead so that it can be included by all platform Makefiles. Chris@0: Chris@0: Chris@0: # For a debug build... Chris@0: Chris@0: CFLAGS := -Wall -Wextra -g -fPIC Chris@0: Chris@0: # ... or for a release build Chris@0: Chris@0: #CFLAGS := -Wall -Wextra -O3 -ftree-vectorize -fPIC Chris@0: Chris@0: Chris@0: # Flags to determine processor architecture and system SDK Chris@0: Chris@0: ARCHFLAGS ?= -mmacosx-version-min=10.6 -arch x86_64 -arch i386 Chris@0: Chris@0: Chris@0: # Location of Vamp plugin SDK relative to the project directory Chris@0: Chris@0: VAMPSDK_DIR := ../vamp-plugin-sdk Chris@0: Chris@0: Chris@0: # Libraries and linker flags required by plugin: add any -l Chris@0: # options here Chris@0: Chris@0: PLUGIN_LDFLAGS := -dynamiclib -exported_symbols_list vamp-plugin.list $(VAMPSDK_DIR)/libvamp-sdk.a Chris@0: Chris@0: Chris@0: # File extension for plugin library on this platform Chris@0: Chris@0: PLUGIN_EXT := .dylib Chris@0: Chris@0: Chris@0: include Makefile.inc Chris@0: Chris@0: