summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
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 $@ $<