Module MakeFile

Author
Michael Hanus
Version
December 2020

A library containing some data types to describe makefiles.

Exported Datatypes:
Exported Functions:

Exported Datatypes


type MakeFile = [MakeElement]

A make file consists of a list of make elements.


data MakeElement

A data type for the description of an element of a make file.

Constructors:


data SpecialTarget

A data type to describe special targets.

Constructors:

  • PHONY :: SpecialTarget
  • NOTPARALLEL :: SpecialTarget

Known instances:


Exported Functions


showMakeFile :: [MakeElement] -> String  Deterministic 

Shows a MakeFile as a string in standard makefile syntax.