Mercurial > SDL_sound_CoreAudio
diff Makefile @ 27:ba49bdd9ea33
Ogg Vorbis support.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 19 Sep 2001 14:33:22 +0000 |
parents | 0b66213eb422 |
children | 530fa59d5db9 |
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