
Learning GNU Make Functions with Arithmetic
Address
John Grahm jgc@electric-cloud.com
Ask Mr. Make: by John Graham-Cumming
GNU Make has no built-in arithmetic capability. In this article I present a collection of GNU Make macros that implement functions for addition, subtraction, multiplication, and division of integers. Functions are also provided for integer comparisons such as “greater than” and “not equal”. These macros are implemented entirely using GNU Make's built-in string manipulation functions
Read more and ask Mr. Make...
Reviews (0)
Be the first to review this listing!
