Fix a buffer overrun that was introduced in the splitting.
[pitch] / Makefile
index 5cbb2cc..b98df23 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,9 +3,9 @@ CPPFLAGS=
 
 all: pitch
 clean:
-       $(RM) pitch pitch.o
+       $(RM) pitch pitch.o pitchdetector.o
 
-pitch: pitch.o
-       $(CXX) -o pitch pitch.o -lfftw3
+pitch: pitch.o pitchdetector.o
+       $(CXX) -o pitch pitch.o pitchdetector.o -lfftw3
 
 .PHONY: clean