mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
Fix up some dodgy makefiles.
This commit is contained in:
parent
e4b2694feb
commit
a950892aab
2 changed files with 5 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue