Do not calculate dependencies for header files in the .vhookdepend target.

Originally committed as revision 12422 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2008-03-12 09:42:36 +00:00
parent 8df4da4eb3
commit f63b6dc0ff

View File

@ -227,7 +227,7 @@ depend dep: .depend .vhookdep
# gcc stupidly only outputs the basename of targets with -MM
.vhookdep: $(ALLHOOKS_SRCS) version.h
$(CC) $(VHOOKCFLAGS) -MM $^ | sed 's,^\([a-z]\),vhook/\1,' > $@
$(CC) -MM $(VHOOKCFLAGS) $(filter-out %.h,$^) | sed 's,^\([a-z]\),vhook/\1,' > $@
$(DEP_LIBS): lib