Previous: Architecture-independent data files, Up: Other Derived Objects [Contents][Index]
Occasionally a file which would otherwise be called ‘source’
(e.g. a C ‘.h’ file) is actually derived from some other file.
Such files should be listed in the BUILT_SOURCES
variable.
Built sources are also not compiled by default. You must explicitly mention them in some other ‘_SOURCES’ variable for this to happen.
Note that, in some cases, BUILT_SOURCES
will work in somewhat
surprising ways. In order to get the built sources to work with
automatic dependency tracking, the Makefile must depend on
$(BUILT_SOURCES)
. This can cause these sources to be rebuilt at
what might seem like funny times.