Fix up some dodgy makefiles.

This commit is contained in:
Shpoike 2021-09-06 12:40:03 +01:00
parent e4b2694feb
commit a950892aab
2 changed files with 5 additions and 6 deletions

View file

@ -107,11 +107,11 @@ $(error Invalid MP3LIB setting)
endif
endif
ifeq ($(MP3LIB),mad)
mp3_obj=snd_mp3
mp3_obj=snd_mp3.o snd_mp3tag.o
lib_mp3dec=-lmad
endif
ifeq ($(MP3LIB),mpg123)
mp3_obj=snd_mpg123
mp3_obj=snd_mpg123.o snd_mp3tag.o
lib_mp3dec=-lmpg123
endif
ifeq ($(VORBISLIB),vorbis)
@ -204,8 +204,7 @@ MUSIC_OBJS:= bgmusic.o \
snd_wave.o \
snd_vorbis.o \
snd_opus.o \
$(mp3_obj).o \
snd_mp3tag.o \
$(mp3_obj) \
snd_mikmod.o \
snd_xmp.o \
snd_umx.o

View file

@ -105,11 +105,11 @@ $(error Invalid MP3LIB setting)
endif
endif
ifeq ($(MP3LIB),mad)
mp3_obj=snd_mp3.o
mp3_obj=snd_mp3.o snd_mp3tag.o
lib_mp3dec=-lmad
endif
ifeq ($(MP3LIB),mpg123)
mp3_obj=snd_mpg123.o
mp3_obj=snd_mpg123.o snd_mp3tag.o
lib_mp3dec=-lmpg123
endif
ifeq ($(VORBISLIB),vorbis)