yading@10: FFmpeg currently uses a custom build system, this text attempts to document yading@10: some of its obscure features and options. yading@10: yading@10: Makefile variables: yading@10: yading@10: V yading@10: Disable the default terse mode, the full command issued by make and its yading@10: output will be shown on the screen. yading@10: yading@10: DESTDIR yading@10: Destination directory for the install targets, useful to prepare packages yading@10: or install FFmpeg in cross-environments. yading@10: yading@10: Makefile targets: yading@10: yading@10: all yading@10: Default target, builds all the libraries and the executables. yading@10: yading@10: fate yading@10: Run the fate test suite, note you must have installed it yading@10: yading@10: fate-list yading@10: Will list all fate/regression test targets yading@10: yading@10: install yading@10: Install headers, libraries and programs. yading@10: yading@10: libavformat/output-example yading@10: Build the libavformat basic example. yading@10: yading@10: libavcodec/api-example yading@10: Build the libavcodec basic example. yading@10: yading@10: libswscale/swscale-test yading@10: Build the swscale self-test (useful also as example). yading@10: yading@10: yading@10: Useful standard make commands: yading@10: make -t yading@10: Touch all files that otherwise would be build, this is useful to reduce yading@10: unneeded rebuilding when changing headers, but note you must force rebuilds yading@10: of files that actually need it by hand then. yading@10: yading@10: make -j yading@10: rebuild with multiple jobs at the same time. Faster on multi processor systems yading@10: yading@10: make -k yading@10: continue build in case of errors, this is useful for the regression tests yading@10: sometimes but note it will still not run all reg tests. yading@10: