]> git.sesse.net Git - pitch/blobdiff - Makefile
Update the Makefile for the new structure.
[pitch] / Makefile
index 716c9c88f4a80d50b073a70ffb974a010f1e9eaa..b98df23a14c8b9a32e063fc12c4bd2fb6f2aa461 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,11 @@
-CXXFLAGS=-O2
+CXXFLAGS=-g -Wall
 CPPFLAGS=
 
 all: pitch
 clean:
 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
 
 .PHONY: clean