From: Diego Biurrun Date: Wed, 12 Mar 2008 09:42:36 +0000 (+0000) Subject: Do not calculate dependencies for header files in the .vhookdepend target. X-Git-Tag: v0.5~5521 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f63b6dc0ff386d041cf807d61f73250f968cf2d2;p=coroid%2Flibav_saccubus.git Do not calculate dependencies for header files in the .vhookdepend target. Originally committed as revision 12422 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/Makefile b/Makefile index 686b6b048..93f8715ca 100644 --- a/Makefile +++ b/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