[FFmpeg-devel] [RFC] Hack to disable implicit rules

Reimar Döffinger Reimar.Doeffinger
Tue Feb 16 21:20:54 CET 2010


On Tue, Feb 16, 2010 at 09:13:19PM +0100, Reimar D?ffinger wrote:
> On Tue, Feb 16, 2010 at 11:03:44PM +0300, Michael Kostylev wrote:
> > 
> > On Tue Feb 16 09:43:34 2010
> > M?ns Rullg?rd wrote:
> > 
> > > Does this fix an actual problem?
> > 
> > Btw, some actual problem really exists. ff{mpeg,server,play}.o are always
> > removed at the end of the first make pass just because they are processed
> > by make as intermediate objects. What could be done:
> > either mention the objects in .SECONDARY: or build them explicitly.
> 
> Can you try if by any chance this is fixed with my proposed change?
> I can't imagine it would, but you never know...

Hm, this one actually might, but I openly admit I have no clue why the .c file
is marked as a dependency, I suspect it might be related to building the tools stuff?
Index: ../ffmpeg/common.mak
===================================================================
--- ../ffmpeg/common.mak	(revision 21450)
+++ ../ffmpeg/common.mak	(working copy)
@@ -32,7 +32,7 @@
 %.ho: %.h
 	$(CC) $(CPPFLAGS) $(CFLAGS) -Wno-unused -c -o $@ -x c $<
 
-%$(EXESUF): %.c
+%$(EXESUF): %.o
 
 %.ver: %.v
 	sed 's/$$MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ > $@



More information about the ffmpeg-devel mailing list