changeset 22848:82f06c55cf97

Append objects derived from sources to OBJS_*. This way the OBJS_* variables do not get clobbered if they were set before.
author diego
date Sat, 31 Mar 2007 23:33:30 +0000
parents 97cb08575ed5
children bddb09395c3e
files mpcommon.mak
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mpcommon.mak	Sat Mar 31 23:02:36 2007 +0000
+++ b/mpcommon.mak	Sat Mar 31 23:33:30 2007 +0000
@@ -2,9 +2,9 @@
 SRCS_MPLAYER         += $(SRCS_MPLAYER-yes)
 SRCS_MENCODER        += $(SRCS_MENCODER-yes)
 
-OBJS_COMMON    = $(addsuffix .o, $(basename $(SRCS_COMMON)) )
-OBJS_MPLAYER   = $(addsuffix .o, $(basename $(SRCS_MPLAYER)) )
-OBJS_MENCODER  = $(addsuffix .o, $(basename $(SRCS_MENCODER)) )
+OBJS_COMMON    += $(addsuffix .o, $(basename $(SRCS_COMMON)) )
+OBJS_MPLAYER   += $(addsuffix .o, $(basename $(SRCS_MPLAYER)) )
+OBJS_MENCODER  += $(addsuffix .o, $(basename $(SRCS_MENCODER)) )
 
 CFLAGS-$(CONFIG_LIBAVCODEC)     += -I../libavcodec
 CFLAGS-$(CONFIG_LIBAVFORMAT)    += -I../libavformat