[MPlayer-cvslog] r26617 - trunk/Makefile

diego subversion at mplayerhq.hu
Wed Apr 30 16:37:34 CEST 2008


Author: diego
Date: Wed Apr 30 16:37:34 2008
New Revision: 26617

Log:
Add new tests target to build all test programs and remove them on distclean.


Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	(original)
+++ trunk/Makefile	Wed Apr 30 16:37:34 2008
@@ -811,6 +811,12 @@ loader/qtx/qtxload$(EXESUF): loader/qtx/
 mp3lib/test$(EXESUF):  mp3lib/test.c  $(filter mp3lib/%,$(SRCS_COMMON:.c=.o)) libvo/aclib.o cpudetect.o mp_msg-mencoder.o mp_fifo.o osdep/$(TIMER) osdep/$(GETCH) -ltermcap -lm
 mp3lib/test2$(EXESUF): mp3lib/test2.c $(filter mp3lib/%,$(SRCS_COMMON:.c=.o)) libvo/aclib.o cpudetect.o mp_msg-mencoder.o mp_fifo.o osdep/$(TIMER) osdep/$(GETCH) -ltermcap -lm
 
+TESTS = liba52/test$(EXESUF) libvo/aspecttest$(EXESUF) \
+        loader/qtx/list$(EXESUF) loader/qtx/qtxload$(EXESUF) \
+        mp3lib/test$(EXESUF) mp3lib/test2$(EXESUF)
+
+tests: $(TESTS)
+
 install: install-dirs $(INSTALL_TARGETS)
 
 install-dirs:
@@ -874,7 +880,7 @@ clean: toolsclean
 distclean: clean doxygen_clean
 	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) \
+           version.h $(VIDIX_PCI_FILES) $(TESTS) \
            codec-cfg$(EXESUF) codecs2html$(EXESUF) codec-cfg-test$(EXESUF) \
            cpuinfo$(EXESUF) TAGS tags
 
@@ -975,4 +981,4 @@ toolsclean:
 -include $(DEPS)
 
 .PHONY: all doxygen *install* recurse strip *tools
-.PHONY: checkheaders *clean dep depend
+.PHONY: checkheaders *clean dep depend tests



More information about the MPlayer-cvslog mailing list