From 91beada72a26e9e37308961397fd652f2df5b9c4 Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Thu, 31 Aug 2006 18:30:41 +0000
Subject: [PATCH] Some gcc versions dislike version.h to appear in the list of
 files to compile dependencies for.

Originally committed as revision 6144 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index e420818b18d..94537e5fe72 100644
--- a/Makefile
+++ b/Makefile
@@ -210,7 +210,7 @@ ifeq ($(BUILD_VHOOK),yes)
 endif
 
 .depend: $(SRCS) version.h
-	$(CC) -MM $(CFLAGS) $(SDL_CFLAGS) $^ 1>.depend
+	$(CC) -MM $(CFLAGS) $(SDL_CFLAGS) $(SRCS) 1>.depend
 
 .libs: lib
 	@test -f .libs || touch .libs
-- 
GitLab