GNU make macros

A GNU make rule is installed by default as /usr/share/libcxx-version/ or /usr/local/share/libcxx-version/, and contains a couple of useful gmake macros. This rule requires GNU make and xsltproc:

include /usr/share/libcxx-version/

$(call OPTIONS_GEN,cliopts.H,cliopts.xml)

This example creates a rule for cliopts.H with a dependency cliopts.xml. The target gets created by running the optgen.xsl stylesheet.