comparison Makefile @ 35:cf8898a0174c matthiasm-plugin

* Split out NNLSChroma plugin into three plugins (chroma, chordino, tuning) with a common base class. There's still quite a lot of duplication between the getRemainingFeatures functions. Also add copyright / copying headers, etc.
author Chris Cannam
date Fri, 22 Oct 2010 11:30:21 +0100
parents 8edcf48f4031
children 131801714118
comparison
equal deleted inserted replaced
34:8edcf48f4031 35:cf8898a0174c
1 PLUGIN_LIBRARY_NAME = matthiasm 1 PLUGIN_LIBRARY_NAME = matthiasm
2 2
3 # Edit this to list one .o file for each .cpp file in your plugin project 3 # Edit this to list one .o file for each .cpp file in your plugin project
4 # 4 #
5 PLUGIN_CODE_OBJECTS = NNLSChroma.o plugins.o nnls.o chromamethods.o 5 PLUGIN_CODE_OBJECTS = NNLSBase.o NNLSChroma.o Chordino.o Tuning.o plugins.o nnls.o chromamethods.o
6 6
7 # Edit this to the location of the Vamp plugin SDK, relative to your 7 # Edit this to the location of the Vamp plugin SDK, relative to your
8 # project directory 8 # project directory
9 # 9 #
10 VAMP_SDK_DIR = ../vamp-plugin-sdk 10 VAMP_SDK_DIR = ../vamp-plugin-sdk
11 QMDSP_DIR = ../qm-dsp/build/osx/20091028
12 BOOST_ROOT = ../boost_1_44_0 11 BOOST_ROOT = ../boost_1_44_0
13 12
14 13
15 ## Uncomment these for an OS/X native build using command-line tools: 14 ## Uncomment these for an OS/X native build using command-line tools:
16 ARCHFLAGS = -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -arch i386 15 ARCHFLAGS = -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -arch i386
22 21
23 22
24 $(PLUGIN): $(PLUGIN_CODE_OBJECTS) 23 $(PLUGIN): $(PLUGIN_CODE_OBJECTS)
25 $(CXX) -o $@ $^ $(LDFLAGS) 24 $(CXX) -o $@ $^ $(LDFLAGS)
26 25
27 NNLSChroma.o: NNLSChroma.h
28 plugins.o: NNLSChroma.h
29
30 nnls.o: nnls.c # not nnls.f 26 nnls.o: nnls.c # not nnls.f
31 27
32 clean: 28 clean:
33 rm -f *.o 29 rm -f *.o
34 30
31 # DO NOT DELETE
32
33 nnls.o: nnls.h
34 Chordino.o: Chordino.h NNLSBase.h chromamethods.h nnls.h
35 chromamethods.o: chromamethods.h nnls.h chorddict.cpp
36 NNLSBase.o: NNLSBase.h chromamethods.h nnls.h
37 NNLSChroma.o: NNLSChroma.h NNLSBase.h chromamethods.h nnls.h
38 plugins.o: NNLSChroma.h NNLSBase.h Chordino.h Tuning.h
39 Tuning.o: Tuning.h NNLSBase.h chromamethods.h nnls.h
40 Chordino.o: NNLSBase.h
41 chromamethods.o: nnls.h
42 NNLSChroma.o: NNLSBase.h
43 Tuning.o: NNLSBase.h