[Ffmpeg-cvslog] r6011 - trunk/tests/Makefile

diego subversion
Thu Aug 17 14:23:35 CEST 2006


Author: diego
Date: Thu Aug 17 14:23:35 2006
New Revision: 6011

Modified:
   trunk/tests/Makefile

Log:
Simplify dsptest* rule and add libavutil to the dsptest* includes.


Modified: trunk/tests/Makefile
==============================================================================
--- trunk/tests/Makefile	(original)
+++ trunk/tests/Makefile	Thu Aug 17 14:23:35 2006
@@ -67,14 +67,14 @@
  $(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




More information about the ffmpeg-cvslog mailing list