changeset 22499:643be517b47a

Add codec-cfg-test target.
author diego
date Sun, 11 Mar 2007 17:44:10 +0000
parents b6b1bd155b58
children e62a82413491
files Makefile
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sun Mar 11 17:30:44 2007 +0000
+++ b/Makefile	Sun Mar 11 17:44:10 2007 +0000
@@ -246,6 +246,9 @@
 codecs2html$(EXESUF): mp_msg.o
 	$(CC) -DCODECS2HTML codec-cfg.c $^ -o $@
 
+codec-cfg-test$(EXESUF): codecs.conf.h codec-cfg.h mp_msg.o osdep/getch2.o
+	$(CC) -I. -DTESTING codec-cfg.c mp_msg.o osdep/getch2.o -ltermcap -o $@
+
 INSTALL_TARGETS-$(MPLAYER)  += install-mplayer install-mplayer-man
 INSTALL_TARGETS-$(MENCODER) += install-mencoder install-mplayer-man
 INSTALL_TARGETS-$(GUI)      += install-gui
@@ -319,7 +322,8 @@
 clean:
 	-rm -f *.o *.a *~
 	-rm -f mplayer$(EXESUF) mencoder$(EXESUF) codec-cfg$(EXESUF) \
-	  codecs2html$(EXESUF) codecs.conf.h help_mp.h version.h
+	  codecs2html$(EXESUF) codec-cfg-test$(EXESUF) \
+	  codecs.conf.h help_mp.h version.h
 	@for a in $(PARTS); do $(MAKE) -C $$a clean; done
 
 distclean: clean doxygen_clean