[FFmpeg-cvslog] r12422 - trunk/Makefile

diego subversion
Wed Mar 12 10:42:36 CET 2008


Author: diego
Date: Wed Mar 12 10:42:36 2008
New Revision: 12422

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


Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	(original)
+++ trunk/Makefile	Wed Mar 12 10:42:36 2008
@@ -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
 




More information about the ffmpeg-cvslog mailing list