shithub: aubio

Download patch

ref: a12563ea14df2b47881bd064768536f225683b0b
parent: 2d975cf349d92e2b3bee3d07cb7fc043b221312e
author: Paul Brossier <piem@altern.org>
date: Wed Feb 22 21:20:50 EST 2006

update Makefiles
update Makefiles


--- a/python/test/bench/onset/Makefile.am
+++ b/python/test/bench/onset/Makefile.am
@@ -28,9 +28,9 @@
 final-aubiowindow:        $(patsubst %, %.aubiowindow, $(SOURCE))
 
 %.aubiocut: %
-	rm -f `basename $<`.aubiocut
-	./bench-onset $< | tee `basename $<`.aubiocut
-	-diff `basename $<`.aubiocut.ref `basename $<`.aubiocut
+	rm -f `basename $@`
+	./bench-onset $< | tee `basename $@`
+	-diff `basename $@`.ref `basename $@`
 
 %.aubiodelay: %
 	rm -f `basename $@`
--- a/python/test/bench/pitch/Makefile.am
+++ b/python/test/bench/pitch/Makefile.am
@@ -3,11 +3,12 @@
 export LD_LIBRARY_PATH=$(BASEDIR)/src/.libs:$(BASEDIR)/ext/.libs
 
 SOURCE = \
-	/archives/samples/pitch/isolated
+	/var/tmp/pitch \
+	$(HOME)/archives/samples/pitch/isolated
 
 test-aubiopitch:         $(patsubst %, %.aubiopitch, $(SOURCE))
 
 %.aubiopitch: %
-	rm -f `basename $<`.aubiocut
-	./bench-pitch $< #| tee `basename $<`.aubiocut
-	#diff `basename $<`.aubiocut.ref `basename $<`.aubiocut
+	rm -f `basename $@`
+	./bench-pitch $< #| tee `basename $@`
+	-diff `basename $@` `basename $@`