view Makefile.inc @ 246:aac9ad4064ea subsequence tip

Fix incorrect handling of silent tail in the non-subsequence MATCH phase; some debug output changes
author Chris Cannam
date Fri, 24 Jul 2020 14:29:55 +0100
parents 91796976e8c6
children
line wrap: on
line source

PLUGIN_EXT	?= .so
PLUGIN		?= match-vamp-plugin$(PLUGIN_EXT)
CXX		?= g++
CC		?= gcc

CXXFLAGS	:= -Isrc -DUSE_COMPACT_TYPES $(CXXFLAGS)

TEST_LDFLAGS	+= -lboost_unit_test_framework

HEADERS		:= $(wildcard src/*.h)
SOURCES		:= $(wildcard src/*.cpp)
OBJECTS		:= $(SOURCES:.cpp=.o)

TEST_SOURCES	:= $(wildcard test/*.cpp)
TEST_OBJECTS	:= $(TEST_SOURCES:.cpp=.o)
TESTS		:= $(TEST_OBJECTS:.o=)

all:		plugin

plugin:		$(PLUGIN)

tests:		$(TESTS)
		for t in $(TESTS); do echo "Running $$t"; ./"$$t" || exit 1; done

$(PLUGIN):	$(OBJECTS)
		$(CXX) -o $@ $^ $(LDFLAGS) $(PLUGIN_LDFLAGS)

test/%:	test/%.o $(OBJECTS)
		$(CXX) -o $@ $^ $(LDFLAGS) $(TEST_LDFLAGS)

clean:		
		rm -f $(OBJECTS) $(TEST_OBJECTS) $(TESTS)

distclean:	clean
		rm -f $(PLUGIN)

depend:
	makedepend -Y -fMakefile.inc $(SOURCES) $(HEADERS) $(TEST_SOURCES)
	
# DO NOT DELETE

src/DistanceMetric.o: src/DistanceMetric.h src/MatchTypes.h
src/FeatureConditioner.o: src/FeatureConditioner.h src/MatchTypes.h
src/FeatureExtractor.o: src/FeatureExtractor.h src/MatchTypes.h
src/Finder.o: src/Finder.h src/Matcher.h src/DistanceMetric.h
src/Finder.o: src/MatchTypes.h src/Path.h
src/FullDTW.o: src/FullDTW.h src/DistanceMetric.h src/MatchTypes.h
src/libmain.o: src/MatchVampPlugin.h src/MatchPipeline.h src/Matcher.h
src/libmain.o: src/DistanceMetric.h src/MatchTypes.h src/Finder.h
src/libmain.o: src/FeatureExtractor.h src/FeatureConditioner.h
src/libmain.o: src/MatchFeatureFeeder.h src/SubsequenceMatchVampPlugin.h
src/libmain.o: src/FullDTW.h
src/Matcher.o: src/Matcher.h src/DistanceMetric.h src/MatchTypes.h
src/MatchFeatureFeeder.o: src/MatchFeatureFeeder.h src/Matcher.h
src/MatchFeatureFeeder.o: src/DistanceMetric.h src/MatchTypes.h src/Finder.h
src/MatchPipeline.o: src/MatchPipeline.h src/Matcher.h src/DistanceMetric.h
src/MatchPipeline.o: src/MatchTypes.h src/Finder.h src/FeatureExtractor.h
src/MatchPipeline.o: src/FeatureConditioner.h src/MatchFeatureFeeder.h
src/MatchVampPlugin.o: src/MatchVampPlugin.h src/MatchPipeline.h
src/MatchVampPlugin.o: src/Matcher.h src/DistanceMetric.h src/MatchTypes.h
src/MatchVampPlugin.o: src/Finder.h src/FeatureExtractor.h
src/MatchVampPlugin.o: src/FeatureConditioner.h src/MatchFeatureFeeder.h
src/Path.o: src/Path.h
src/SubsequenceMatchVampPlugin.o: src/SubsequenceMatchVampPlugin.h
src/SubsequenceMatchVampPlugin.o: src/Matcher.h src/DistanceMetric.h
src/SubsequenceMatchVampPlugin.o: src/MatchTypes.h src/FeatureExtractor.h
src/SubsequenceMatchVampPlugin.o: src/FeatureConditioner.h src/FullDTW.h
src/SubsequenceMatchVampPlugin.o: src/MatchPipeline.h src/Finder.h
src/SubsequenceMatchVampPlugin.o: src/MatchFeatureFeeder.h
src/DistanceMetric.o: src/MatchTypes.h
src/FeatureConditioner.o: src/MatchTypes.h
src/FeatureExtractor.o: src/MatchTypes.h
src/Finder.o: src/Matcher.h src/DistanceMetric.h src/MatchTypes.h
src/FullDTW.o: src/DistanceMetric.h src/MatchTypes.h
src/Matcher.o: src/DistanceMetric.h src/MatchTypes.h
src/MatchFeatureFeeder.o: src/Matcher.h src/DistanceMetric.h src/MatchTypes.h
src/MatchFeatureFeeder.o: src/Finder.h
src/MatchPipeline.o: src/Matcher.h src/DistanceMetric.h src/MatchTypes.h
src/MatchPipeline.o: src/Finder.h src/FeatureExtractor.h
src/MatchPipeline.o: src/FeatureConditioner.h src/MatchFeatureFeeder.h
src/MatchVampPlugin.o: src/MatchPipeline.h src/Matcher.h src/DistanceMetric.h
src/MatchVampPlugin.o: src/MatchTypes.h src/Finder.h src/FeatureExtractor.h
src/MatchVampPlugin.o: src/FeatureConditioner.h src/MatchFeatureFeeder.h
src/SubsequenceMatchVampPlugin.o: src/Matcher.h src/DistanceMetric.h
src/SubsequenceMatchVampPlugin.o: src/MatchTypes.h src/FeatureExtractor.h
src/SubsequenceMatchVampPlugin.o: src/FeatureConditioner.h src/FullDTW.h
test/TestDistanceMetric.o: src/DistanceMetric.h src/MatchTypes.h
test/TestFeatureConditioner.o: src/FeatureConditioner.h src/MatchTypes.h
test/TestFeatureExtractor.o: src/FeatureExtractor.h src/MatchTypes.h