From f63b6dc0ff386d041cf807d61f73250f968cf2d2 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 12 Mar 2008 09:42:36 +0000 Subject: [PATCH] Do not calculate dependencies for header files in the .vhookdepend target. Originally committed as revision 12422 to svn://svn.ffmpeg.org/ffmpeg/trunk --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 686b6b048c..93f8715ca9 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