]> git.sesse.net Git - ffmpeg/blobdiff - common.mak
Declare the PIX_FMT_GRAY8 pixel format as a paletted format. This is
[ffmpeg] / common.mak
index aa3324ae93bf5f4a10446a45e5b28721f09807db..5420c7d9fb9b57ef43e4baf2827c1211d796219b 100644 (file)
@@ -20,6 +20,7 @@ endif
 ALLFFLIBS = avcodec avdevice avfilter avformat avutil postproc swscale
 
 CPPFLAGS := -DHAVE_AV_CONFIG_H -I$(BUILD_ROOT_REL) -I$(SRC_PATH) $(CPPFLAGS)
+CFLAGS   += $(ECFLAGS)
 
 %.o: %.c
        $(CCDEP)
@@ -50,6 +51,13 @@ install: install-libs install-headers
 uninstall: uninstall-libs uninstall-headers
 
 .PHONY: all depend dep *clean install* uninstall* examples testprogs
+
+# Disable suffix rules.  Most of the builtin rules are suffix rules,
+# so this saves some time on slow systems.
+.SUFFIXES:
+
+# Do not delete intermediate files from chains of implicit rules
+.SECONDARY:
 endif
 
 OBJS-$(HAVE_MMX) +=  $(MMX-OBJS-yes)