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

Måns Rullgård mans
Tue Feb 16 10:43:34 CET 2010


Reimar D?ffinger <Reimar.Doeffinger at gmx.de> writes:

> Hello,
> since I've only recently seen them causing issues (mostly due to MinGW and
> Cygwin make being broken most of the time) and found a way that seems
> to disable them (although maybe more as a side-effect), I'd like to propose
> this patch.
> What are your opinions?
> Index: common.mak
> ===================================================================
> --- common.mak	(revision 21840)
> +++ common.mak	(working copy)
> @@ -4,6 +4,10 @@
>
>  all: # make "all" default target
>
> +# disable suffix rules, we do not use them and like this we avoid (most?)
> +# implicit rules which might cause slowdowns or bugs
> +.SUFFIXES:
> +

Does this fix an actual problem?  I already looked at this, and that
pseudo-target doesn't actually disable much at all, only the old .c.o
style rules.  New-style %.c:%.o builtin rules are still in effect.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list