Imported Debian version 2.4.3~trusty1
[deb_ffmpeg.git] / ffmpeg / doc / build_system.txt
CommitLineData
2ba45a60
DM
1FFmpeg currently uses a custom build system, this text attempts to document
2some of its obscure features and options.
3
4Makefile variables:
5
6V
7 Disable the default terse mode, the full command issued by make and its
8 output will be shown on the screen.
9
10DESTDIR
11 Destination directory for the install targets, useful to prepare packages
12 or install FFmpeg in cross-environments.
13
14Makefile targets:
15
16all
17 Default target, builds all the libraries and the executables.
18
19fate
20 Run the fate test suite, note you must have installed it
21
22fate-list
23 Will list all fate/regression test targets
24
25install
26 Install headers, libraries and programs.
27
28examples
29 Build all examples located in doc/examples.
30
31libavformat/output-example
32 Build the libavformat basic example.
33
34libavcodec/api-example
35 Build the libavcodec basic example.
36
37libswscale/swscale-test
38 Build the swscale self-test (useful also as example).
39
40config
41 Reconfigure the project with current configuration.
42
43
44Useful standard make commands:
45make -t <target>
46 Touch all files that otherwise would be build, this is useful to reduce
47 unneeded rebuilding when changing headers, but note you must force rebuilds
48 of files that actually need it by hand then.
49
50make -j<num>
51 rebuild with multiple jobs at the same time. Faster on multi processor systems
52
53make -k
54 continue build in case of errors, this is useful for the regression tests
55 sometimes but note it will still not run all reg tests.
56