changeset 26589:47f08d44cfa7

Add testclean target and make distclean depend upon it.
author diego
date Wed, 30 Apr 2008 17:53:38 +0000
parents 836862767447
children ccfcdc2323aa
files Makefile
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Wed Apr 30 17:51:45 2008 +0000
+++ b/Makefile	Wed Apr 30 17:53:38 2008 +0000
@@ -815,6 +815,9 @@
 
 tests: $(TESTS)
 
+testsclean:
+	rm -f $(TESTS)
+
 install: install-dirs $(INSTALL_TARGETS)
 
 install-dirs:
@@ -875,10 +878,10 @@
 	rm -f $(foreach dir,$(DIRS),$(foreach suffix,/*.o /*.a /*.ho /*~, $(addsuffix $(suffix),$(dir))))
 	rm -f mplayer$(EXESUF) mencoder$(EXESUF)
 
-distclean: clean doxygen_clean
+distclean: clean doxygen_clean testsclean
 	rm -f $(foreach dir,$(DIRS),$(foreach suffix,/*.d, $(addsuffix $(suffix),$(dir))))
 	rm -f configure.log config.mak config.h	codecs.conf.h help_mp.h \
-           version.h $(VIDIX_PCI_FILES) $(TESTS) \
+           version.h $(VIDIX_PCI_FILES) \
            codec-cfg$(EXESUF) codecs2html$(EXESUF) codec-cfg-test$(EXESUF) \
            cpuinfo$(EXESUF) TAGS tags