Generate the filename

def filename(out_dir, name, undefine=False):
    """Generate the filename"""
    if undefine:
        prefix = 'undef_'
    else:
        prefix = ''
    return os.path.join(out_dir, '{0}{1}.hpp'.format(prefix, name.lower()))