Commit f63b6dc0 authored by Diego Biurrun's avatar Diego Biurrun

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

Originally committed as revision 12422 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 8df4da4e
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment