From c2b5d43bfeb0709004d244ccccfda4354f7e73c0 Mon Sep 17 00:00:00 2001 From: Walter Julius Hennecke Date: Mon, 23 Jan 2012 00:32:35 +0100 Subject: [PATCH] Current progress --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 415043a..10a64a7 100644 --- a/Makefile +++ b/Makefile @@ -332,7 +332,8 @@ ifneq (,$(findstring "$(PLATFORM)", "linux" "gnu_kfreebsd" "kfreebsd-gnu")) CLIENT_CFLAGS += $(SDL_CFLAGS) ifeq ($(USE_CODEC_MP3),1) - BASE_CFLAGS += -DUSE_CODEC_MP3=1 + BASE_CFLAGS += -DUSE_CODEC_MP3 + CLIENT_LIBS += -lmad endif OPTIMIZEVM = -O3 -funroll-loops -fomit-frame-pointer @@ -471,7 +472,7 @@ ifeq ($(PLATFORM),darwin) endif ifeq ($(USE_CODEC_MP3),1) - BASE_CFLAGS += -DUSE_CODEC_MP3=1 + BASE_CFLAGS += -DUSE_CODEC_MP3 CLIENT_LIBS += -lmad endif @@ -534,7 +535,8 @@ ifeq ($(PLATFORM),mingw32) endif ifeq ($(USE_CODEC_MP3),1) - BASE_CFLAGS += -DUSE_CODEC_MP3=1 + BASE_CFLAGS += -DUSE_CODEC_MP3 + CLIENT_LIBS += -lmad endif ifeq ($(ARCH),x64) @@ -672,7 +674,7 @@ ifeq ($(PLATFORM),freebsd) endif ifeq ($(USE_CODEC_MP3),1) - CLIENT_CFLAGS += -DUSE_CODEC_MP3=1 + CLIENT_CFLAGS += -DUSE_CODEC_MP3 CLIENT_LIBS += -lmad endif