GNU make macros

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

include /usr/share/libcxx/

$(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.