[vorbis-dev] Makefile dependencies in vorbis-tools

Kenneth C. Arnold kcarnold at yahoo.com
Mon Jun 19 07:06:32 PDT 2000



On Sun, Jun 18, 2000 at 09:41:03PM -0700, volsung at asu.edu wrote:
> I've been trying to tackle the vorbis source.  I ran across what I think is a
> missing dependency in the vorbis-tools directory.  Since ogg123 and vorbize
> are staticly linked to libvorbis and vorbisfile, when those file change, the
> executables should be rebuilt.  Below I've attached a patch.  (I hope it
> works.  I am sort of new to patch and diff.)
> 
> --- vorbis-tools/Makefile.in.old	Sun Jun 18 21:04:34 2000
> +++ vorbis-tools/Makefile.in	Sun Jun 18 20:48:51 2000
> @@ -35,10 +35,10 @@
>  
>  target: vorbize ogg123
>  
> -ogg123: ogg123.o
> +ogg123: ogg123.o ../lib/libvorbis.a ../lib/vorbisfile.a
>  	$(CC) $(CFLAGS) ogg123.o -o ogg123 $(LIBS)
>  
> -vorbize: vorbize.o 
> +vorbize: vorbize.o ../lib/libvorbis.a ../lib/vorbisfile.a
>  	$(CC) $(CFLAGS) vorbize.o -o \
>  			vorbize $(LIBS)

That was almost exactly what I was _just_ about to commit! Except vorbize
depends on libvorbis, and ogg123 depends on vorbisfile.

Also removing ogg123 from the main build. Vorbize should be fine.

Kenneth

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/



More information about the Vorbis-dev mailing list