Mercurial > SDL_sound_CoreAudio
changeset 27:ba49bdd9ea33
Ogg Vorbis support.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 19 Sep 2001 14:33:22 +0000 |
parents | ddc3614c9042 |
children | d9e84e857569 |
files | Makefile |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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