changeset 35:36f27ef8bebe

Added AIFF support.
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 20 Sep 2001 07:53:59 +0000
parents 938ef560c7bf
children b2313d8c27cf
files Makefile
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Sep 20 07:51:42 2001 +0000
+++ b/Makefile	Thu Sep 20 07:53:59 2001 +0000
@@ -84,6 +84,7 @@
 use_decoder_mp3 := false
 use_decoder_voc := true
 use_decoder_wav := true
+use_decoder_aiff := true
 use_decoder_ogg := true
 
 #-----------------------------------------------------------------------------#
@@ -258,6 +259,11 @@
   CFLAGS += -DSOUND_SUPPORTS_WAV
 endif
 
+ifeq ($(strip $(use_decoder_aiff)),true)
+  MAINSRCS += decoders/aiff.c
+  CFLAGS += -DSOUND_SUPPORTS_AIFF
+endif
+
 ifeq ($(strip $(use_decoder_ogg)),true)
   MAINSRCS += decoders/ogg.c
   CFLAGS += -DSOUND_SUPPORTS_OGG
@@ -370,6 +376,7 @@
 	@echo "Building DLLs         : $(build_dll)"
 	@echo "Install prefix        : $(install_prefix)"
 	@echo "Supports .WAV         : $(use_decoder_wav)"
+	@echo "Supports .AIFF        : $(use_decoder_aiff)"
 	@echo "Supports .RAW         : $(use_decoder_raw)"
 	@echo "Supports .MP3         : $(use_decoder_mp3)"
 	@echo "Supports .VOC         : $(use_decoder_voc)"