Saturday, March 26, 2011

Make Makefile Tip #4: GNU Make Standard Library (GMSL)

Next tip in our on going series of Make/Makefile tips is to use the GNU Make Standard Library (GMSL). GMSL supplies the features that you've wanted to use in writing your complex Makefile but could not figure out how to get it done.

The GNU Make Standard Library (GMSL) is a collection of functions implemented using native GNU Make functionality that provide list and string manipulation, integer arithmetic, associative arrays, stacks, and debugging facilities. The GMSL is released under the BSD License.

  • Associative Arrays
  • Integer Arithmetic Functions
  • List Manipulation Functions
  • Logical Operator: AND
  • Logical Operator: NAND
  • Logical Operator: NOR
  • Logical Operator: NOT
  • Logical Operator: OR
  • Logical Operator: XOR
  • Miscellaneous and Debugging Facilities
  • Named Stacks
  • Set Manipulation Function
  • String Manipulation Functions

Past Makefile Tips: