aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-04-30 14:37:34 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-04-30 14:37:34 +0000
commit9a7913688817b788e886d90a38348cbaa5724916 (patch)
tree049fa4b7f469bb417ae0245d909df0c246d50b91 /Makefile
parentac514e5d6003a012c50148b044cf695e555b2248 (diff)
Add new tests target to build all test programs and remove them on distclean.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26617 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 66f027de73..617ad07904 100644
--- a/Makefile
+++ b/Makefile
@@ -811,6 +811,12 @@ loader/qtx/qtxload$(EXESUF): loader/qtx/qtxload.c $(LOADER_TEST_OBJS)
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