Mercurial > hg > vamp-tempogram
annotate Makefile.osx @ 60:ac1a75151fc9 tip
isnan(int) is meaningless, and msvc refuses it as ambiguous
author | Chris Cannam |
---|---|
date | Wed, 18 Dec 2019 16:47:10 +0000 |
parents | a3d463ea7a57 |
children |
rev | line source |
---|---|
Chris@37 | 1 |
Chris@37 | 2 ## Makefile for Vamp plugin using command-line tools on OS/X. |
Chris@37 | 3 ## |
Chris@37 | 4 ## Edit this to adjust compiler and library settings when |
Chris@37 | 5 ## building for OS/X. |
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@58 | 13 #CFLAGS := -Wall -Wextra -g -fPIC |
Chris@37 | 14 |
Chris@37 | 15 # ... or for a release build |
Chris@37 | 16 |
Chris@58 | 17 CFLAGS := -Wall -Wextra -O3 -ftree-vectorize -fPIC |
Chris@37 | 18 |
Chris@37 | 19 |
Chris@37 | 20 # Flags to determine processor architecture and system SDK |
Chris@37 | 21 |
c@49 | 22 ARCHFLAGS ?= -mmacosx-version-min=10.6 -arch x86_64 |
Chris@37 | 23 |
Chris@37 | 24 |
Chris@37 | 25 # Location of Vamp plugin SDK relative to the project directory |
Chris@37 | 26 |
Chris@58 | 27 VAMPSDK_DIR := ../vamp-plugin-sdk |
Chris@37 | 28 |
Chris@37 | 29 |
Chris@37 | 30 # Libraries and linker flags required by plugin: add any -l<library> |
Chris@37 | 31 # options here |
Chris@37 | 32 |
Chris@58 | 33 PLUGIN_LDFLAGS := -dynamiclib -exported_symbols_list vamp-plugin.list -lvamp-sdk |
Chris@37 | 34 |
Chris@37 | 35 |
Chris@37 | 36 # File extension for plugin library on this platform |
Chris@37 | 37 |
Chris@37 | 38 PLUGIN_EXT := .dylib |
Chris@37 | 39 |
Chris@37 | 40 |
Chris@37 | 41 include Makefile.inc |
Chris@37 | 42 |
Chris@37 | 43 |