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

Originally committed as revision 12422 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Diego Biurrun 17 years ago
parent 8df4da4eb3
commit f63b6dc0ff
  1. 2
      Makefile

@ -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

Loading…
Cancel
Save