From 148beec7e8ad3b7b1d5a4304a3c48c44ed60a818 Mon Sep 17 00:00:00 2001
From: Zdenek Kabelac <kabi@informatics.muni.cz>
Date: Tue, 9 Mar 2004 12:18:40 +0000
Subject: [PATCH] * missing opts for make dep

Originally committed as revision 2860 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 Makefile            | 2 +-
 libavcodec/Makefile | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index d5a9d376e0f..b2a34a16257 100644
--- a/Makefile
+++ b/Makefile
@@ -147,7 +147,7 @@ ifeq ($(BUILD_VHOOK),yes)
 endif
 
 .depend: $(SRCS)
-	$(CC) -MM $(CFLAGS) $^ 1>.depend
+	$(CC) -MM $(CFLAGS) $(SDL_CFLAGS) $^ 1>.depend
 
 .libs: lib
 	@test -f .libs || touch .libs
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 40f189bd045..03d90fe7674 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -119,6 +119,7 @@ OBJS += i386/fdct_mmx.o i386/cputest.o \
 	i386/simple_idct_mmx.o i386/fft_sse.o i386/vp3dsp_mmx.o
 ifdef TARGET_BUILTIN_VECTOR
 i386/fft_sse.o: CFLAGS+= -msse
+depend: CFLAGS+= -msse
 endif
 endif
 
-- 
GitLab