annotate tests/Makefile @ 376:8e32cd2af755

Add Doxyfile
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 21 Oct 2013 11:38:40 +0100
parents ad21307eaf99
children 36bcde3c13d8
rev   line source
c@335 1
c@335 2 CFLAGS := -I.. $(CFLAGS)
c@341 3 CXXFLAGS := -I.. -Wall -g $(CXXFLAGS)
c@335 4
c@335 5 LDFLAGS := $(LDFLAGS) -lboost_unit_test_framework
c@335 6 LIBS := ../libqm-dsp.a
c@335 7
c@375 8 TESTS := test-mathutilities test-window test-fft test-pvoc test-resampler
c@335 9
c@355 10 #VG := valgrind
c@355 11
c@335 12 all: $(TESTS)
c@355 13 for t in $(TESTS); do echo "Running $$t"; $(VG) ./"$$t" || exit 1; done
c@348 14
c@348 15 test-mathutilities: TestMathUtilities.o $(LIBS)
c@348 16 $(CXX) -o $@ $^ $(LDFLAGS)
c@335 17
c@335 18 test-window: TestWindow.o $(LIBS)
c@335 19 $(CXX) -o $@ $^ $(LDFLAGS)
c@335 20
c@335 21 test-fft: TestFFT.o $(LIBS)
c@335 22 $(CXX) -o $@ $^ $(LDFLAGS)
c@335 23
c@337 24 test-pvoc: TestPhaseVocoder.o $(LIBS)
c@337 25 $(CXX) -o $@ $^ $(LDFLAGS)
c@337 26
c@375 27 test-resampler: TestResampler.o $(LIBS)
c@375 28 $(CXX) -o $@ $^ $(LDFLAGS)
c@375 29
c@348 30 TestMathUtilities.o: $(LIBS)
c@341 31 TestWindow.o: $(LIBS)
c@341 32 TestFFT.o: $(LIBS)
c@341 33 TestPhaseVocoder.o: $(LIBS)
c@375 34 TestResampler.o: $(LIBS)
c@341 35
c@335 36 clean:
c@341 37 rm -f *.o $(TESTS)
c@335 38