import re


def unformat(recipe):
    """
    Remove indentation, alignment from a Makefile recipe
    """
    recipe = re.sub('[\\\\]\n', ' ', recipe)
    recipe = '\n'.join(re.sub('[\s]+', ' ', line).strip() for line in recipe.split('\n') if line != '')
    return recipe