Mercurial > hg > qm-dsp
annotate tests/Makefile @ 364:01d7da967123
Save extra samples from one process to next (+ other fixes and debug out)
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Mon, 14 Oct 2013 08:15:51 +0100 |
parents | 3c7338aff6a8 |
children | 23558405a7d1 |
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@348 | 8 TESTS := test-mathutilities test-window test-fft test-pvoc |
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@348 | 27 TestMathUtilities.o: $(LIBS) |
c@341 | 28 TestWindow.o: $(LIBS) |
c@341 | 29 TestFFT.o: $(LIBS) |
c@341 | 30 TestPhaseVocoder.o: $(LIBS) |
c@341 | 31 |
c@335 | 32 clean: |
c@341 | 33 rm -f *.o $(TESTS) |
c@335 | 34 |