Skip to content

Commit

Permalink
Rerun configure when all*.c files have changed
Browse files Browse the repository at this point in the history
Originally committed as revision 24370 to svn://svn.ffmpeg.org/ffmpeg/trunk
  • Loading branch information
mansr committed Jul 20, 2010
1 parent f6ae77d commit 8660191
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 8660191

Please sign in to comment.