aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-08-17 12:23:35 +0000
committerDiego Biurrun <diego@biurrun.de>2006-08-17 12:23:35 +0000
commit0e16a1fc92fabe2b54af7479182cb8d922340104 (patch)
tree90be7bc3784a1465df87381a81ff81537d53cb06 /tests/Makefile
parentc895987b33651d3aa459829593d5f78ef2d6c2cc (diff)
downloadffmpeg-0e16a1fc92fabe2b54af7479182cb8d922340104.tar.gz
Simplify dsptest* rule and add libavutil to the dsptest* includes.
Originally committed as revision 6011 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 84302cc22a..6b1abb9418 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -67,14 +67,14 @@ DSPDEPS = $(SRC_PATH)/libavcodec/i386/dsputil_mmx.c \
$(SRC_PATH)/libavcodec/dsputil.h \
$(SRC_PATH)/libavcodec/simple_idct.c
+DSPCFLAGS = -O4 -fomit-frame-pointer -DHAVE_AV_CONFIG_H -I.. \
+ -I$(SRC_PATH)/libavutil/ -I$(SRC_PATH)/libavcodec/i386 \
+ -I$(SRC_PATH)/libavcodec/ -lm
+
dsptestpic: dsptest.c $(DSPDEPS)
- $(CC) -fPIC -DPIC -O4 -fomit-frame-pointer -DHAVE_AV_CONFIG_H -I.. \
- -I$(SRC_PATH)/libavcodec/i386 -I$(SRC_PATH)/libavcodec/ \
- -o $@ $< -lm
+ $(CC) -fPIC -DPIC $(DSPCFLAGS) -o $@ $<
dsptest: dsptest.c $(DSPDEPS)
- $(CC) -O4 -fomit-frame-pointer -DHAVE_AV_CONFIG_H -I.. \
- -I$(SRC_PATH)/libavcodec/i386 -I$(SRC_PATH)/libavcodec/ \
- -o $@ $< -lm
+ $(CC) $(DSPCFLAGS) -o $@ $<
distclean clean:
rm -rf vsynth1 vsynth2 data