GNU Autoconf, Automake, and Libtool
by Gary V. Vaughan, Ben Elliston, Tom Tromey, Ian Lance Taylor
18.2. Language Support
Automake comes with built-in knowledge of the most common compiled languages: C, C++, Objective C, Yacc, Lex, Assembly, and Fortran. However, programs are sometimes written in an unusual language, or in a custom language translated into something more common. Automake enables you to handle these cases in a natural way.
Automake's notion of a "language" is tied to the suffix appended to each source file written in that language. You must inform Automake of each new suffix you introduce. You do so by listing them in the 'SUFFIXES' macro. Suppose, for instance, that you are writing part of your program in the language 'M', which is compiled to object code by a program named mc. The typical suffix for an 'M' source file is ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access