fix make dep for out of tree builds
authorMåns Rullgård <mans@mansr.com>
Sat, 11 Nov 2006 20:58:32 +0000 (20:58 +0000)
committerMåns Rullgård <mans@mansr.com>
Sat, 11 Nov 2006 20:58:32 +0000 (20:58 +0000)
Originally committed as revision 6974 to svn://svn.ffmpeg.org/ffmpeg/trunk

Makefile

index 4ad6023..26fb148 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -210,7 +210,7 @@ ifeq ($(CONFIG_VHOOK),yes)
 endif
 
 .depend: $(SRCS) version.h
-       $(CC) -MM $(CFLAGS) $(SDL_CFLAGS) $(SRCS) 1>.depend
+       $(CC) -MM $(CFLAGS) $(SDL_CFLAGS) $^ 1>.depend
 
 .libs: lib
        @test -f .libs || touch .libs