Some gcc versions dislike version.h to appear in the list of files to
[ffmpeg.git] / Makefile
index e420818..94537e5 100644 (file)
--- 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