[FFmpeg-cvslog] r12414 - trunk/Makefile

diego subversion
Mon Mar 10 21:18:40 CET 2008


Author: diego
Date: Mon Mar 10 21:18:40 2008
New Revision: 12414

Log:
Simplify .depend generation command.


Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	(original)
+++ trunk/Makefile	Mon Mar 10 21:18:40 2008
@@ -227,7 +227,7 @@ depend dep: .depend .vhookdep
 	$(MAKE-$(CONFIG_AVFILTER)) -C libavfilter depend
 
 .depend: $(SRCS) version.h
-	$(CC) -MM $(CFLAGS) $(filter-out %.h,$^) > .depend
+	$(CC) -MM $(CFLAGS) $(SRCS) > $@
 
 # gcc stupidly only outputs the basename of targets with -MM
 .vhookdep: $(ALLHOOKS_SRCS) version.h




More information about the ffmpeg-cvslog mailing list