comparison Makefile @ 7:21147df9cb2d

* Error when deleting Spectrogram object in Tempogram::getRemainingFeatures(). * Moved Spectrogram computation into own class.
author Carl Bussey <c.bussey@se10.qmul.ac.uk>
date Thu, 07 Aug 2014 16:21:21 +0100
parents 597f033fa7a2
children be59b4a73f49
comparison
equal deleted inserted replaced
6:14a143a2c4c9 7:21147df9cb2d
19 # 19 #
20 PLUGIN_LIBRARY_NAME := tempogram 20 PLUGIN_LIBRARY_NAME := tempogram
21 21
22 # Edit this to list the .cpp or .c files in your plugin project 22 # Edit this to list the .cpp or .c files in your plugin project
23 # 23 #
24 PLUGIN_SOURCES := Tempogram.cpp FIRFilter.cpp WindowFunction.cpp plugins.cpp NoveltyCurve.cpp 24 PLUGIN_SOURCES := Tempogram.cpp FIRFilter.cpp WindowFunction.cpp plugins.cpp NoveltyCurve.cpp Spectrogram.cpp
25 25
26 # Edit this to list the .h files in your plugin project 26 # Edit this to list the .h files in your plugin project
27 # 27 #
28 PLUGIN_HEADERS := Tempogram.h FIRFilter.h WindowFunction.h NoveltyCurve.h 28 PLUGIN_HEADERS := Tempogram.h FIRFilter.h WindowFunction.h NoveltyCurve.h Spectrogram.h
29 29
30 # Edit this to the location of the Vamp plugin SDK, relative to your 30 # Edit this to the location of the Vamp plugin SDK, relative to your
31 # project directory 31 # project directory
32 # 32 #
33 VAMP_SDK_DIR := /usr/local/include 33 VAMP_SDK_DIR := /usr/local/include
96 $(CXX) -o $@ $^ $(LDFLAGS) 96 $(CXX) -o $@ $^ $(LDFLAGS)
97 97
98 $(PLUGIN_OBJECTS): $(PLUGIN_HEADERS) 98 $(PLUGIN_OBJECTS): $(PLUGIN_HEADERS)
99 99
100 install: $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT) 100 install: $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT)
101 if [ -e ~/Library/Audio/Plug-Ins/Vamp/$(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT) ] ; then \
102 rm ~/Library/Audio/Plug-Ins/Vamp/$(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT) ;\
103 fi ;\
101 cp $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT) ~/Library/Audio/Plug-Ins/Vamp 104 cp $(PLUGIN_LIBRARY_NAME)$(PLUGIN_EXT) ~/Library/Audio/Plug-Ins/Vamp
102 105
103 clean: 106 clean:
104 rm -f *.o *.dylib 107 rm -f *.o *.dylib
105 108