[Ffmpeg-cvslog] r5721 - trunk/libavformat/Makefile

Rich Felker dalias
Thu Jul 13 17:10:07 CEST 2006


On Thu, Jul 13, 2006 at 08:59:38AM +0100, M?ns Rullg?rd wrote:
> Rich Felker <dalias at aerifal.cx> writes:
> 
> > On Wed, Jul 12, 2006 at 02:10:12AM +0200, mru wrote:
> >> Author: mru
> >> Date: Wed Jul 12 02:10:12 2006
> >> New Revision: 5721
> >> 
> >> Modified:
> >>    trunk/libavformat/Makefile
> >> 
> >> Log:
> >> nut needs crc.o
> >> 
> >> 
> >> Modified: trunk/libavformat/Makefile
> >> ==============================================================================
> >> --- trunk/libavformat/Makefile	(original)
> >> +++ trunk/libavformat/Makefile	Wed Jul 12 02:10:12 2006
> >> @@ -76,8 +76,8 @@
> >>  OBJS-$(CONFIG_MPEGTS_MUXER)              += mpegtsenc.o
> >>  OBJS-$(CONFIG_MPJPEG_MUXER)              += mpjpeg.o
> >>  OBJS-$(CONFIG_NSV_DEMUXER)               += nsvdec.o riff.o
> >> -OBJS-$(CONFIG_NUT_DEMUXER)               += nut.o riff.o
> >> -OBJS-$(CONFIG_NUT_MUXER)                 += nut.o riff.o
> >> +OBJS-$(CONFIG_NUT_DEMUXER)               += nut.o riff.o crc.o
> >> +OBJS-$(CONFIG_NUT_MUXER)                 += nut.o riff.o crc.o
> >
> > Does the build system have a way to eliminate duplicate objects when
> > building the complete list? Otherwise these files will be linked twice
> > when making shared libs, and possibly included in .a libs twice too
> > (altho that won't affect final binaries).
> 
> Make removes duplicates automatically.

In the contexts of dependency lists, yes, but for something like:
cc -o foo $(OBJS)
I'm really doubtful that it does. I guess I should just RTFMF and see
for myself though if I care.. You're probably right.

Rich





More information about the ffmpeg-cvslog mailing list