summaryrefslogtreecommitdiff
path: root/devdocs/gnu_make/guile-function.html
blob: 039946f69e99b19c6b6abe7b9a667a501feb29b2 (plain)
1
2
3
4
5
6
  <h1 class="section">The guile Function</h1>   <p>If GNU <code>make</code> is built with support for GNU Guile as an embedded extension language then the <code>guile</code> function will be available. The <code>guile</code> function takes one argument which is first expanded by <code>make</code> 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 <code>guile</code> function in the makefile. See <a href="guile-integration">GNU Guile Integration</a> for details on writing extensions to <code>make</code> in Guile. </p> <p>You can determine whether GNU Guile support is available by checking the <code>.FEATURES</code> variable for the word <var>guile</var>. </p><div class="_attribution">
  <p class="_attribution-p">
    Copyright © 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Free Software Foundation, Inc. <br>Licensed under the GNU Free Documentation License.<br>
    <a href="https://www.gnu.org/software/make/manual/html_node/Guile-Function.html" class="_attribution-link">https://www.gnu.org/software/make/manual/html_node/Guile-Function.html</a>
  </p>
</div>