From 86601915d2b2dadd70cba02b0af2ac761364d75c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Tue, 20 Jul 2010 18:10:27 +0000 Subject: [PATCH] Rerun configure when all*.c files have changed Originally committed as revision 24370 to svn://svn.ffmpeg.org/ffmpeg/trunk --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9b9f7f8006..8949fdac30 100644 --- a/Makefile +++ b/Makefile @@ -56,6 +56,9 @@ $(PROGS): %$(EXESUF): %_g$(EXESUF) $(CP) $< $@ $(STRIP) $@ +config.h: .config +.config: $(wildcard $(FFLIBS:%=$(SRC_DIR)/lib%/all*.c)) + SUBDIR_VARS := OBJS FFLIBS CLEANFILES DIRS TESTPROGS EXAMPLES SKIPHEADERS \ ALTIVEC-OBJS MMX-OBJS NEON-OBJS X86-OBJS YASM-OBJS-FFT YASM-OBJS \ HOSTPROGS BUILT_HEADERS TESTOBJS ARCH_HEADERS @@ -164,8 +167,9 @@ distclean:: $(RM) $(DISTCLEANSUFFIXES) $(RM) version.h config.* libavutil/avconfig.h -config: +config .config: $(SRC_PATH)/configure $(value FFMPEG_CONFIGURATION) + @touch .config # regression tests