Mercurial > hg > nnls-chroma
annotate Makefile.mingw @ 165:9e9267d6d78a v1.0
Bump the version
author | Chris Cannam |
---|---|
date | Fri, 04 Sep 2015 17:27:24 +0100 |
parents | 640875946077 |
children | 259ef0f4622b |
rev | line source |
---|---|
Chris@62 | 1 |
Chris@62 | 2 PLUGIN_LIBRARY_NAME = nnls-chroma |
Chris@62 | 3 |
Chris@62 | 4 PLUGIN_CODE_OBJECTS = chromamethods.o NNLSBase.o NNLSChroma.o Chordino.o Tuning.o plugins.o nnls.o viterbi.o |
Chris@62 | 5 |
Chris@62 | 6 VAMP_SDK_DIR = ../vamp-plugin-sdk |
Chris@62 | 7 |
Chris@154 | 8 # Allow the invoker to specify a particular set of tools through |
Chris@154 | 9 # TOOLPREFIX, e.g. for cross-compile |
Chris@154 | 10 CC=$(TOOLPREFIX)gcc |
Chris@154 | 11 CXX=$(TOOLPREFIX)g++ |
Chris@62 | 12 |
Chris@75 | 13 OPTFLAGS = -O2 -ffast-math |
Chris@75 | 14 |
Chris@155 | 15 CFLAGS += $(OPTFLAGS) -I$(VAMP_SDK_DIR) -Wall |
Chris@155 | 16 CXXFLAGS += $(OPTFLAGS) -I$(VAMP_SDK_DIR) -I../boost_1_44_0 -Wall |
Chris@75 | 17 |
Chris@62 | 18 PLUGIN_EXT = .dll |
Chris@62 | 19 PLUGIN = $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT) |
Chris@75 | 20 |
Chris@156 | 21 LDFLAGS += -shared -static -fno-exceptions -static-libgcc -Wl,-soname=$(PLUGIN) $(VAMP_SDK_DIR)/libvamp-sdk.a -Wl,--retain-symbols-file=vamp-plugin.list |
Chris@62 | 22 |
Chris@62 | 23 |
Chris@62 | 24 $(PLUGIN): $(PLUGIN_CODE_OBJECTS) |
Chris@62 | 25 $(CXX) -o $@ $^ $(LDFLAGS) |
Chris@62 | 26 |
Chris@62 | 27 clean: |
Chris@156 | 28 $(RM) *.o |
Chris@62 | 29 |