changeset 26850:522c224661ee

Fix codec-cfg-test linking.
author diego
date Tue, 27 May 2008 09:11:13 +0000
parents ad7c6de88369
children 7a2fff6becf9
files Makefile
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Tue May 27 09:04:47 2008 +0000
+++ b/Makefile	Tue May 27 09:11:13 2008 +0000
@@ -739,9 +739,6 @@
 codecs2html$(EXESUF): mp_msg-mencoder.o
 	$(CC) -DCODECS2HTML codec-cfg.c $^ -o $@
 
-codec-cfg-test$(EXESUF): codecs.conf.h codec-cfg.h mp_msg-mencoder.o osdep/getch2.o
-	$(CC) -I. -DTESTING codec-cfg.c mp_msg-mencoder.o osdep/getch2.o -ltermcap -o $@
-
 osdep/mplayer-rc.o: osdep/mplayer.rc version.h
 	$(WINDRES) -I. -o $@ $<
 
@@ -881,6 +878,9 @@
 
 TEST_OBJS = mp_msg-mencoder.o mp_fifo.o osdep/$(GETCH) osdep/$(TIMER) -ltermcap -lm
 
+codec-cfg-test$(EXESUF): codecs.conf.h codec-cfg.h $(TEST_OBJS)
+	$(CC) -I. -DTESTING -o $@ codec-cfg.c $(TEST_OBJS)
+
 liba52/test$(EXESUF): liba52/test.c cpudetect.o $(filter liba52/%,$(SRCS_COMMON:.c=.o))
 
 libvo/aspecttest$(EXESUF): libvo/aspecttest.c libvo/aspect.o libvo/geometry.o $(TEST_OBJS)