From 4cbc3951669d46ca2bbdd366b8ecf7557d05adbf Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Sat, 24 Dec 2022 23:10:04 +0300
Subject: [PATCH] updated os/2 makefile after gme patch
---
Makefile.os2 | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/Makefile.os2 b/Makefile.os2
index 8d6ba48e..ee158a05 100644
--- a/Makefile.os2
+++ b/Makefile.os2
@@ -45,6 +45,8 @@ USE_FLUIDSYNTH=no
USE_XMP=yes
# tracker music support (using libmodplug)
USE_MODPLUG=no
+# game-music-emu support (using libgme)
+USE_GME=no
LIBFILE = $(LIBNAME).lib
DLLFILE = $(LIBNAME).dll
@@ -57,7 +59,7 @@ SRCS+= load_aiff.c load_voc.c music_wav.c &
music_ogg.c music_ogg_stb.c music_opus.c &
music_flac.c music_drflac.c music_wavpack.c &
mp3utils.c music_mpg123.c music_drmp3.c &
- music_xmp.c music_modplug.c &
+ music_xmp.c music_modplug.c music_gme.c &
music_fluidsynth.c music_timidity.c
# timidity sources:
TIMISRCS = common.c instrum.c mix.c output.c playmidi.c readmidi.c resample.c tables.c timidity.c
@@ -148,6 +150,11 @@ CFLAGS+= -DMUSIC_MOD_MODPLUG
LIBS+= modplug.lib
!endif
+!ifeq USE_GME yes
+CFLAGS+= -DMUSIC_GME
+LIBS+= gme.lib
+!endif
+
!ifeq NEED_LIBOGG yes
LIBS+= ogg.lib
!endif