update Makefiles
authorPaul Brossier <piem@altern.org>
Thu, 23 Feb 2006 02:20:50 +0000 (02:20 +0000)
committerPaul Brossier <piem@altern.org>
Thu, 23 Feb 2006 02:20:50 +0000 (02:20 +0000)
update Makefiles

python/test/bench/onset/Makefile.am
python/test/bench/pitch/Makefile.am

index 5528f16573a9b2d84788a910d73200a0e4949b0d..638f28a014028e51826045c803b2f3ef8cd90421 100644 (file)
@@ -28,9 +28,9 @@ final-aubiodelay:         $(patsubst %, %.aubiodelay,  $(SOURCE))
 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 $@`
index cbd40350f97c22fc35ff3c9fecc7f7ee0b066014..656e892c91950dc7ca820dd6c14550ee35d89e40 100644 (file)
@@ -3,11 +3,12 @@ export PYTHONPATH=$(BASEDIR)/python
 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 $@`