[FFmpeg-cvslog] r24370 - trunk/Makefile

mru subversion
Tue Jul 20 20:10:27 CEST 2010


Author: mru
Date: Tue Jul 20 20:10:27 2010
New Revision: 24370

Log:
Rerun configure when all*.c files have changed

Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	Tue Jul 20 20:10:24 2010	(r24369)
+++ trunk/Makefile	Tue Jul 20 20:10:27 2010	(r24370)
@@ -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
 



More information about the ffmpeg-cvslog mailing list