From 0d7d36692bee53969ca3b076604bedc0dcd8dce2 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 15 Mar 2007 05:31:10 +0000 Subject: [PATCH] build when other source files change as well git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4603 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/formats/mod_shout/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mod/formats/mod_shout/Makefile b/src/mod/formats/mod_shout/Makefile index e9297fa0c0..40b0a1c5e7 100644 --- a/src/mod/formats/mod_shout/Makefile +++ b/src/mod/formats/mod_shout/Makefile @@ -14,13 +14,17 @@ SHOUTLA=$(SHOUT_DIR)/src/libshout.la LOCAL_CFLAGS=-I$(SHOUT_DIR)/include -I$(LAME_DIR)/include LOCAL_LIBADD=$(LAMELA) $(SHOUTLA) +MP3SOURCES=common.c dct64_i386.c decode_ntom.c layer3.c tabinit.c interface.c MP3OBJS=common.o dct64_i386.o decode_ntom.o layer3.o tabinit.o interface.o LOCAL_OBJS=$(MP3OBJS) +LOCAL_SOURCES=$(MP3SOURCES) include $(switch_srcdir)/build/modmake.rules DEFAULT_ARGS=--prefix=$(PREFIX) --disable-shared --with-pic +$(LOCAL_OBJS): $(LOCAL_SOURCES) + $(LAME_DIR)/Makefile: $(GETLIB) $(LAME).tar.gz cd $(LAME_DIR) && ./configure $(DEFAULT_ARGS) --disable-decoder