annotate build/general/Makefile.inc @ 380:1494e18439ae

Add DecimatorB (Butterworth filter, arbitrary powers of two)
author Chris Cannam <c.cannam@qmul.ac.uk>
date Tue, 22 Oct 2013 08:58:28 +0100
parents 9d425cdf0fd6
children 9b91f770e7ba
rev   line source
c@315 1
c@315 2 LIBRARY ?= libqm-dsp.a
c@315 3 CXX ?= g++
c@315 4 CC ?= gcc
c@315 5 AR ?= ar
c@315 6 RANLIB ?= ranlib
c@315 7
c@379 8 CFLAGS := $(CFLAGS) -I. -Iext/kissfft -Iext/kissfft/tools -Dkiss_fft_scalar=double
c@379 9 CXXFLAGS := $(CXXFLAGS) -I. -Iext/kissfft -Iext/kissfft/tools -Dkiss_fft_scalar=double
c@314 10
c@314 11 HEADERS := base/Pitch.h \
c@314 12 base/Window.h \
c@379 13 base/KaiserWindow.h \
c@379 14 base/SincWindow.h \
c@314 15 dsp/chromagram/Chromagram.h \
c@314 16 dsp/chromagram/ConstantQ.h \
c@314 17 dsp/keydetection/GetKeyMode.h \
c@314 18 dsp/mfcc/MFCC.h \
c@314 19 dsp/onsets/DetectionFunction.h \
c@314 20 dsp/onsets/PeakPicking.h \
c@314 21 dsp/phasevocoder/PhaseVocoder.h \
c@314 22 dsp/rateconversion/Decimator.h \
c@380 23 dsp/rateconversion/DecimatorB.h \
c@379 24 dsp/rateconversion/Resampler.h \
c@314 25 dsp/rhythm/BeatSpectrum.h \
c@314 26 dsp/segmentation/cluster_melt.h \
c@314 27 dsp/segmentation/ClusterMeltSegmenter.h \
c@314 28 dsp/segmentation/cluster_segmenter.h \
c@314 29 dsp/segmentation/Segmenter.h \
c@314 30 dsp/segmentation/segment.h \
c@314 31 dsp/signalconditioning/DFProcess.h \
c@314 32 dsp/signalconditioning/Filter.h \
c@314 33 dsp/signalconditioning/FiltFilt.h \
c@314 34 dsp/signalconditioning/Framer.h \
c@314 35 dsp/tempotracking/DownBeat.h \
c@314 36 dsp/tempotracking/TempoTrack.h \
c@314 37 dsp/tempotracking/TempoTrackV2.h \
c@314 38 dsp/tonal/ChangeDetectionFunction.h \
c@314 39 dsp/tonal/TCSgram.h \
c@314 40 dsp/tonal/TonalEstimator.h \
c@314 41 dsp/transforms/FFT.h \
c@314 42 dsp/wavelet/Wavelet.h \
c@314 43 hmm/hmm.h \
c@314 44 maths/Correlation.h \
c@314 45 maths/CosineDistance.h \
c@314 46 maths/KLDivergence.h \
c@314 47 maths/MathAliases.h \
c@314 48 maths/MathUtilities.h \
c@314 49 maths/Polyfit.h \
c@314 50 maths/pca/pca.h \
c@314 51 thread/AsynchronousTask.h \
c@314 52 thread/BlockAllocator.h \
c@379 53 thread/Thread.h \
c@379 54 ext/kissfft/kiss_fft.h \
c@379 55 ext/kissfft/tools/kiss_fftr.h
c@314 56
c@314 57 SOURCES := base/Pitch.cpp \
c@379 58 base/KaiserWindow.cpp \
c@379 59 base/SincWindow.cpp \
c@314 60 dsp/chromagram/Chromagram.cpp \
c@314 61 dsp/chromagram/ConstantQ.cpp \
c@314 62 dsp/keydetection/GetKeyMode.cpp \
c@314 63 dsp/mfcc/MFCC.cpp \
c@314 64 dsp/onsets/DetectionFunction.cpp \
c@314 65 dsp/onsets/PeakPicking.cpp \
c@314 66 dsp/phasevocoder/PhaseVocoder.cpp \
c@314 67 dsp/rateconversion/Decimator.cpp \
c@380 68 dsp/rateconversion/DecimatorB.cpp \
c@379 69 dsp/rateconversion/Resampler.cpp \
c@314 70 dsp/rhythm/BeatSpectrum.cpp \
c@314 71 dsp/segmentation/cluster_melt.c \
c@314 72 dsp/segmentation/ClusterMeltSegmenter.cpp \
c@314 73 dsp/segmentation/cluster_segmenter.c \
c@314 74 dsp/segmentation/Segmenter.cpp \
c@314 75 dsp/signalconditioning/DFProcess.cpp \
c@314 76 dsp/signalconditioning/Filter.cpp \
c@314 77 dsp/signalconditioning/FiltFilt.cpp \
c@314 78 dsp/signalconditioning/Framer.cpp \
c@314 79 dsp/tempotracking/DownBeat.cpp \
c@314 80 dsp/tempotracking/TempoTrack.cpp \
c@314 81 dsp/tempotracking/TempoTrackV2.cpp \
c@314 82 dsp/tonal/ChangeDetectionFunction.cpp \
c@314 83 dsp/tonal/TCSgram.cpp \
c@314 84 dsp/tonal/TonalEstimator.cpp \
c@314 85 dsp/transforms/FFT.cpp \
c@314 86 dsp/wavelet/Wavelet.cpp \
c@314 87 hmm/hmm.c \
c@314 88 maths/Correlation.cpp \
c@314 89 maths/CosineDistance.cpp \
c@314 90 maths/KLDivergence.cpp \
c@314 91 maths/MathUtilities.cpp \
c@314 92 maths/pca/pca.c \
c@379 93 thread/Thread.cpp \
c@379 94 ext/kissfft/kiss_fft.c \
c@379 95 ext/kissfft/tools/kiss_fftr.c
c@314 96
c@314 97 OBJECTS := $(SOURCES:.cpp=.o)
c@314 98 OBJECTS := $(OBJECTS:.c=.o)
c@314 99
c@315 100 $(LIBRARY): $(OBJECTS)
c@315 101 $(AR) cr $@ $^
c@315 102 $(RANLIB) $@
c@315 103
c@315 104 clean:
c@379 105 rm -f $(OBJECTS)
c@315 106
c@315 107 distclean: clean
c@379 108 rm -f $(LIBRARY)