Fix a buffer overrun that was introduced in the splitting.
[pitch] / Makefile
index 716c9c8..b98df23 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,11 @@
-CXXFLAGS=-O2
+CXXFLAGS=-g -Wall
 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