# HG changeset patch # User Ryan C. Gordon # Date 1000910002 0 # Node ID ba49bdd9ea33774a7c3d357c7608fd8046039629 # Parent ddc3614c9042cb5ec0481b19218921fdd1d3a7d1 Ogg Vorbis support. diff -r ddc3614c9042 -r ba49bdd9ea33 Makefile --- a/Makefile Wed Sep 19 14:33:06 2001 +0000 +++ b/Makefile Wed Sep 19 14:33:22 2001 +0000 @@ -84,6 +84,7 @@ use_decoder_mp3 := false use_decoder_voc := true use_decoder_wav := true +use_decoder_ogg := true #-----------------------------------------------------------------------------# # Set to "true" if you'd like to build a DLL. Set to "false" otherwise. @@ -257,6 +258,12 @@ CFLAGS += -DSOUND_SUPPORTS_WAV endif +ifeq ($(strip $(use_decoder_ogg)),true) + MAINSRCS += decoders/ogg.c + CFLAGS += -DSOUND_SUPPORTS_OGG + LDFLAGS += -lvorbisfile -lvorbis +endif + ifeq ($(strip $(need_extra_rwops)),true) MAINSRCS += extra_rwops.c endif