]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
build when other source files change as well
authorMichael Jerris <mike@jerris.com>
Thu, 15 Mar 2007 05:31:10 +0000 (05:31 +0000)
committerMichael Jerris <mike@jerris.com>
Thu, 15 Mar 2007 05:31:10 +0000 (05:31 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4603 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/formats/mod_shout/Makefile

index e9297fa0c07bf15b0bcc910babb7daff21d055ce..40b0a1c5e782cf51bc2b52c0332329f7c36283a2 100644 (file)
@@ -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