From c5986f02ea93126dde3c0950d6e0a2cfb63eb843 Mon Sep 17 00:00:00 2001 From: Toni Schranz Date: Thu, 29 Apr 2021 12:01:03 +0200 Subject: [PATCH] USE_SDL_SOUND flag (#85) --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 018295ead..f192e2993 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,7 @@ BUILD_GAME_SO =0 BUILD_GAME_QVM =0 OPTIMIZE =1 USE_SDL =1 +USE_SDL_SOUND =0 USE_OPENAL =0 USE_CURL =1 USE_CODEC_VORBIS =0 @@ -531,6 +532,10 @@ ifeq ($(PLATFORM),freebsd) VORBIS_LIBS=$(shell pkg-config --silence-errors --libs vorbis vorbisfile) endif + ifeq ($(USE_SDL_SOUND), 1) + SDL_CFLAGS += -DUSE_SDL_SOUND + endif + USE_SDL = 1 ifndef HOMEPATH