aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-11 17:44:10 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-11 17:44:10 +0000
commitaf4cbb98a07b28cecc34566117ce766327cfb600 (patch)
tree1fcc61ce13c6a6534e138210f5242a32a1fcad39 /Makefile
parenta4c58e8f87aa0606f883876d8557dbc99016ebaa (diff)
Add codec-cfg-test target.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22517 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1abe36070e..446a4f232e 100644
--- a/Makefile
+++ b/Makefile
@@ -246,6 +246,9 @@ codec-cfg.o: codecs.conf.h
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 @@ uninstall:
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