Navigation Menu

Skip to content

Commit

Permalink
Ogg Vorbis support.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Sep 19, 2001
1 parent e1066b0 commit 820f567
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Expand Up @@ -84,6 +84,7 @@ use_decoder_raw := true
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.
Expand Down Expand Up @@ -257,6 +258,12 @@ ifeq ($(strip $(use_decoder_wav)),true)
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
Expand Down

0 comments on commit 820f567

Please sign in to comment.