Skip to content

Commit

Permalink
CONFIGURE: Skip compilation of unnecessary file with mt32emu disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Dec 26, 2024
1 parent 89febd4 commit bd88407
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion audio/module.mk
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ MODULE_OBJS := \
softsynth/opl/mame.o \
softsynth/appleiigs.o \
softsynth/fluidsynth.o \
softsynth/mt32.o \
softsynth/eas.o \
softsynth/pcspk.o \
soundfont/rawfile.o \
Expand Down Expand Up @@ -104,6 +103,11 @@ MODULE_OBJS += \
softsynth/fmtowns_pc98/towns_pc98_plugins.o
endif

ifdef USE_MT32
MODULE_OBJS += \
softsynth/mt32.o
endif

ifdef USE_SID_AUDIO
MODULE_OBJS += \
softsynth/sid.o \
Expand Down
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ add_component indeo "Indeo" "_indeo" "USE_INDEO"
add_component lua "Lua" "_lua" "USE_LUA"
add_component vpx "libvpx" "_vpx" "USE_VPX"
add_component theoradec "libtheoradec" "_theoradec" "USE_THEORADEC"
add_component mt32emu "integrated MT-32 emulator" "_mt32emu" "USE_MT32EMU"
add_component mt32emu "Integrated MT-32 emulator" "_mt32emu" "USE_MT32EMU"
add_component sid_audio "SID audio" "_sid_audio" "USE_SID_AUDIO"
add_component tinygl "TinyGL" "_tinygl" "USE_TINYGL"

Expand Down

0 comments on commit bd88407

Please sign in to comment.