aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-04-22 18:30:14 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-04-22 18:30:14 +0000
commita2638aa7642e769561350060871d91364f312b9f (patch)
tree0afe6afc235a4bdffd3b0a96bf2e0ef06f400605 /tests
parentaabce53304eae73c852a9292ed6e532b8ae02b3f (diff)
downloadffmpeg-a2638aa7642e769561350060871d91364f312b9f.tar.gz
ensure that seek_test is rebuild if any of the libs changed
Originally committed as revision 8788 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 3417c687e0..be7455af3d 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -82,8 +82,10 @@ audiogen$(EXESUF): audiogen.c
tiny_psnr$(EXESUF): tiny_psnr.c
$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $<
+LIBAV = ../libavformat/libavformat.a ../libavcodec/libavcodec.a ../libavutil/libavutil.a
+
#FIXME cleanup shit below
-seek_test$(EXESUF): seek_test.c
+seek_test$(EXESUF): seek_test.c $(LIBAV)
$(CC) $(LDFLAGS) $(CFLAGS) -DHAVE_AV_CONFIG_H -I.. -I$(SRC_PATH)/libavformat/ -I$(SRC_PATH)/libavcodec/ -I$(SRC_PATH)/libavutil/ -o $@ $< $(SRC_PATH)/libavformat/libavformat.a $(SRC_PATH)/libavcodec/libavcodec.a $(SRC_PATH)/libavutil/libavutil.a $(EXTRALIBS)
DSPDEPS = $(SRC_PATH)/libavcodec/i386/dsputil_mmx.c \