Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Creates a Makefile rule.
>>>
mkRule "main" ["file1","file2"] ["do something"]
main : file1 file2 do something
>>>
mkRule "main" ["program.exe"] []
main : program.exe
mkMakefile :: SharedOptions -> (String -> Doc) -> Backend Source #
Create the Makefile file using the name specified in the option record.