From 4104cc56225f29ce1cded8b2876f8748460232a6 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 4 Dec 2016 22:01:50 +0100 Subject: build: Warn that reconfiguration is necessary if version.h files changed The library versions are stored in the config.mak file and are used to derive shared library names. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5aa2ab4557..a7dcb6c53a 100644 --- a/Makefile +++ b/Makefile @@ -123,13 +123,14 @@ tools/cws2fws$(EXESUF): ELIBS = $(ZLIB) CONFIGURABLE_COMPONENTS = \ $(wildcard $(FFLIBS:%=$(SRC_PATH)/lib%/all*.c)) \ + $(wildcard $(FFLIBS:%=$(SRC_PATH)/lib%/version.h)) \ $(SRC_PATH)/libavcodec/bitstream_filters.c \ $(SRC_PATH)/libavformat/protocols.c \ config.h: .config .config: $(CONFIGURABLE_COMPONENTS) @-tput bold 2>/dev/null - @-printf '\nWARNING: $(?F) newer than config.h, rerun configure\n\n' + @-printf '\nWARNING: $(?) newer than config.h, rerun configure\n\n' @-tput sgr0 2>/dev/null SUBDIR_VARS := CLEANFILES EXAMPLES FFLIBS HOSTPROGS TESTPROGS TOOLS \ -- cgit v1.2.3