[NUT-devel] [nut]: r617 - src/trunk/Makefile
Diego Biurrun
diego at biurrun.de
Wed Feb 13 10:28:00 CET 2008
On Wed, Feb 13, 2008 at 09:11:53AM +0100, Diego Biurrun wrote:
> On Wed, Feb 13, 2008 at 09:01:59AM +0100, cladisch wrote:
> >
> > Log:
> > Fix the nutmerge dependencies to prevent nutmerge.h from being treated
> > as a source file.
> >
> > --- src/trunk/Makefile (original)
> > +++ src/trunk/Makefile Wed Feb 13 09:01:58 2008
> > @@ -2,6 +2,7 @@ include config.mak
> >
> > LIBNUT_OBJS = libnut/muxer.o libnut/demuxer.o libnut/reorder.o libnut/framecode.o
> > NUTUTILS_PROGS = nututils/nutmerge nututils/nutindex nututils/nutparse
> > +NUTMERGE_OBJS = nututils/nutmerge.o nututils/demux_avi.o nututils/demux_ogg.o nututils/framer_mp3.o nututils/framer_mpeg4.o nututils/framer_vorbis.o
> >
> > @@ -19,7 +20,8 @@ $(LIBNUT_OBJS): libnut/priv.h libnut/lib
> >
> > -nututils/nutmerge: nututils/demux_avi.c nututils/demux_ogg.c nututils/framer_mp3.c nututils/framer_mpeg4.c nututils/framer_vorbis.c nututils/nutmerge.h libnut/libnut.a
> > +$(NUTMERGE_OBJS): nututils/nutmerge.h
> > +nututils/nutmerge: $(NUTMERGE_OBJS) libnut/libnut.a
>
> Is there a problem this fixes? Because it's working absolutely fine
> here and the fix is rather ugly ...
Nonetheless Clemens' version captures the dependencies on nutmerge.h
correctly. I retract my objections.
Diego
More information about the NUT-devel
mailing list