Otherwise the dependency is noticed only after compiling the first file that requires it, resulting in double compilation of that file. --- Makefile | 1 + 1 file changed, 1 insertion(+)
diff --git a/Makefile b/Makefile index cc016b3..8a484c5 100644 --- a/Makefile +++ b/Makefile @@ -162,6 +162,7 @@ GIT_LOG = $(SRC_PATH)/.git/logs/HEAD .version: $(wildcard $(GIT_LOG)) $(VERSION_SH) config.mak .version: M=@ +cmdutils.o: version.h version.h .version: $(M)$(VERSION_SH) $(SRC_PATH) version.h $(EXTRA_VERSION) $(Q)touch .version -- 1.8.3.2 _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel