1
0
Fork 0

Allow compiling without fmod

Later, we will need to provide an alternative to fmod,
as it is badly distributed on linux distributions.
This commit is contained in:
Michaël Lemaire 2014-02-16 14:58:07 +01:00
parent b9c3a15057
commit 9ef2aa5ff0
2 changed files with 1 additions and 8 deletions

View file

@ -4,7 +4,7 @@ GFXFLAGS = `sdl-config --cflags`
GFXLIBS = `sdl-config --libs` -lGL -lGLU -lSDL_image GFXLIBS = `sdl-config --libs` -lGL -lGLU -lSDL_image
ifeq ($(FMOD), yes) ifeq ($(FMOD), yes)
SNDFLAGS = -DUSEFMOD=1 SNDFLAGS = -DAUDIO_FMOD=1
SNDLIBS = -lfmod-3.5 SNDLIBS = -lfmod-3.5
endif endif

View file

@ -2,13 +2,6 @@
#define __AUDIO_H_INCLUDED__ #define __AUDIO_H_INCLUDED__
//#define AUDIO_NONE
#define AUDIO_FMOD
//Only FMOD and NONE is supported, choose one
#ifdef AUDIO_FMOD #ifdef AUDIO_FMOD
#include <fmod.h> #include <fmod.h>
#endif #endif