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:
parent
b9c3a15057
commit
9ef2aa5ff0
2 changed files with 1 additions and 8 deletions
2
Makefile
2
Makefile
|
@ -4,7 +4,7 @@ GFXFLAGS = `sdl-config --cflags`
|
|||
GFXLIBS = `sdl-config --libs` -lGL -lGLU -lSDL_image
|
||||
|
||||
ifeq ($(FMOD), yes)
|
||||
SNDFLAGS = -DUSEFMOD=1
|
||||
SNDFLAGS = -DAUDIO_FMOD=1
|
||||
SNDLIBS = -lfmod-3.5
|
||||
endif
|
||||
|
||||
|
|
|
@ -2,13 +2,6 @@
|
|||
#define __AUDIO_H_INCLUDED__
|
||||
|
||||
|
||||
//#define AUDIO_NONE
|
||||
#define AUDIO_FMOD
|
||||
//Only FMOD and NONE is supported, choose one
|
||||
|
||||
|
||||
|
||||
|
||||
#ifdef AUDIO_FMOD
|
||||
#include <fmod.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue