[MPlayer-cvslog] r26882 - trunk/Makefile

diego subversion at mplayerhq.hu
Tue May 27 11:11:13 CEST 2008


Author: diego
Date: Tue May 27 11:11:13 2008
New Revision: 26882

Log:
Fix codec-cfg-test linking.


Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	(original)
+++ trunk/Makefile	Tue May 27 11:11:13 2008
@@ -739,9 +739,6 @@ codecs.conf.h: codec-cfg$(EXESUF) etc/co
 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 @@ tags:
 
 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)



More information about the MPlayer-cvslog mailing list