summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorRoland Stigge <stigge@antcom.de>2019-02-17 14:53:33 +0100
committerRoland Stigge <stigge@antcom.de>2019-02-17 14:53:33 +0100
commit308a53c389cdc2631860f434989cd57efbf91145 (patch)
tree2eadba9413a881045caedd589cc9aec7fda40134 /Makefile
parentfef594c82518a8fe4c96794852c1fc849c0ed3b3 (diff)
Implemented Tuner
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c78f4d7..c6cd4e3 100644
--- a/Makefile
+++ b/Makefile
@@ -12,10 +12,10 @@ PREFIX=/usr/local/bin
all: tunerdemo testsuite
-tunerdemo: fft.o autocorrelation.o tuner.o tunerdemo.o
+tunerdemo: util.o fft.o autocorrelation.o tuner.o tunerdemo.o
$(CXX) $(CXXFLAGS) -o $@ $^
-testsuite: fft.o autocorrelation.o tuner.o testsuite.o
+testsuite: util.o fft.o autocorrelation.o tuner.o testsuite.o
$(CXX) $(CXXFLAGS) -o $@ $^
fft.o: fft.cpp fft.h
@@ -27,6 +27,9 @@ autocorrelation.o: autocorrelation.cpp autocorrelation.h
tuner.o: tuner.cpp tuner.h
$(CXX) $(CXXFLAGS) -c -o $@ $<
+util.o: util.cpp util.h
+ $(CXX) $(CXXFLAGS) -c -o $@ $<
+
testsuite.o: testsuite.cpp fft.h autocorrelation.h tuner.h
$(CXX) $(CXXFLAGS) -c -o $@ $<