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

Reimar Döffinger Reimar.Doeffinger
Mon Feb 15 22:28:05 CET 2010


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:
+
 ifndef SUBDIR
 vpath %.c   $(SRC_DIR)
 vpath %.h   $(SRC_DIR)



More information about the ffmpeg-devel mailing list