- build and link against OpenAL instead of FMod on windows

Note: this needs to be changed in the projectfiles as well
This commit is contained in:
2003-02-09 20:51:14 +00:00
parent 5b8aee77a2
commit e20e2c0201
2 changed files with 5 additions and 5 deletions

View File

@@ -35,7 +35,7 @@
*/
#if defined (_WIN32)
#define USE_FMOD
#define USE_OPENAL
#elif defined (__linux__)
# if defined (__i386__)
# define USE_OPENAL

View File

@@ -336,10 +336,10 @@ ifeq ($(OS),$(findstring $(OS), "freebsd linux windows"))
ifeq ($(OS),windows)
NAN_SND_LIBS = $(OCGDIR)/gameengine/SoundSystem/$(DEBUG_DIR)libSoundSystem.a
NAN_SND_LIBS += $(OCGDIR)/gameengine/DummySoundSystem/$(DEBUG_DIR)libDummySoundSystem.a
# NAN_SND_LIBS += $(OCGDIR)/gameengine/OpenALSoundSystem/$(DEBUG_DIR)libOpenALSoundSystem.a
# NAN_SND_LIBS += $(NAN_OPENAL)/lib/openal_static.lib
NAN_SND_LIBS += $(OCGDIR)/gameengine/FmodSoundSystem/$(DEBUG_DIR)libFmodSoundSystem.a
NAN_SND_LIBS += $(NAN_FMOD)/lib/fmodvc.lib
NAN_SND_LIBS += $(OCGDIR)/gameengine/OpenALSoundSystem/$(DEBUG_DIR)libOpenALSoundSystem.a
NAN_SND_LIBS += $(NAN_OPENAL)/lib/openal_static.lib
# NAN_SND_LIBS += $(OCGDIR)/gameengine/FmodSoundSystem/$(DEBUG_DIR)libFmodSoundSystem.a
# NAN_SND_LIBS += $(NAN_FMOD)/lib/fmodvc.lib
NAN_SND_LIBS += $(OCGDIR)/gameengine/SoundSystem/$(DEBUG_DIR)libSoundSystem.a
else
NAN_SND_LIBS = $(OCGDIR)/gameengine/SoundSystem/$(DEBUG_DIR)libSoundSystem.a