Next: Loading Dynamic Objects, Previous: Extending GNU
make, Up: Extending GNU
make may be built with support for GNU Guile as an embedded
extension language. Guile implements the Scheme language. A review
of GNU Guile and the Scheme language and its features is beyond the
scope of this manual: see the documentation for GNU Guile and Scheme.
You can determine if
make contains support for Guile by
.FEATURES variable; it will contain the word
guile if Guile support is available.
The Guile integration provides one new
guile function takes one argument which is first expanded
make in the normal fashion, then passed to the GNU Guile
evaluator. The result of the evaluator is converted into a string and
used as the expansion of the
guile function in the makefile.
In addition, GNU
make exposes Guile procedures for use in Guile