comparison 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
comparison
equal deleted inserted replaced
26:ddc3614c9042 27:ba49bdd9ea33
82 #-----------------------------------------------------------------------------# 82 #-----------------------------------------------------------------------------#
83 use_decoder_raw := true 83 use_decoder_raw := true
84 use_decoder_mp3 := false 84 use_decoder_mp3 := false
85 use_decoder_voc := true 85 use_decoder_voc := true
86 use_decoder_wav := true 86 use_decoder_wav := true
87 use_decoder_ogg := true
87 88
88 #-----------------------------------------------------------------------------# 89 #-----------------------------------------------------------------------------#
89 # Set to "true" if you'd like to build a DLL. Set to "false" otherwise. 90 # Set to "true" if you'd like to build a DLL. Set to "false" otherwise.
90 #-----------------------------------------------------------------------------# 91 #-----------------------------------------------------------------------------#
91 #build_dll := false 92 #build_dll := false
253 endif 254 endif
254 255
255 ifeq ($(strip $(use_decoder_wav)),true) 256 ifeq ($(strip $(use_decoder_wav)),true)
256 MAINSRCS += decoders/wav.c 257 MAINSRCS += decoders/wav.c
257 CFLAGS += -DSOUND_SUPPORTS_WAV 258 CFLAGS += -DSOUND_SUPPORTS_WAV
259 endif
260
261 ifeq ($(strip $(use_decoder_ogg)),true)
262 MAINSRCS += decoders/ogg.c
263 CFLAGS += -DSOUND_SUPPORTS_OGG
264 LDFLAGS += -lvorbisfile -lvorbis
258 endif 265 endif
259 266
260 ifeq ($(strip $(need_extra_rwops)),true) 267 ifeq ($(strip $(need_extra_rwops)),true)
261 MAINSRCS += extra_rwops.c 268 MAINSRCS += extra_rwops.c
262 endif 269 endif