Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data CConfig = CConfig {}
- data CCompiler where
- staticLibR :: CCompiler -> [FilePath] -> FilePattern -> CConfig -> Rules ()
- objectFileR :: CCompiler -> FilePath -> FilePattern -> CConfig -> Rules ()
- dynLibR :: CCompiler -> [FilePath] -> FilePattern -> CConfig -> Rules ()
- cBin :: CCompiler -> [FilePath] -> FilePattern -> CConfig -> Rules ()
- cToLib :: CCompiler -> [FilePath] -> FilePattern -> CConfig -> Rules ()
- ccAction :: CmdResult r => CCompiler -> [FilePath] -> FilePath -> CConfig -> Action r
- staticLibA :: CmdResult r => CCompiler -> [FilePath] -> FilePattern -> CConfig -> Action r
- cconfigToArgs :: CConfig -> [String]
- ccToString :: CCompiler -> String
- ccFromString :: String -> CCompiler
- host :: String
Types
Rules
:: CCompiler | ar binary |
-> [FilePath] | Object files to be linked |
-> FilePattern | File pattern for static library outputs |
-> CConfig | |
-> Rules () |
:: CCompiler | |
-> FilePath | C source file |
-> FilePattern | Object file output |
-> CConfig | |
-> Rules () |
:: CCompiler | |
-> [FilePath] | C source files |
-> FilePattern | Binary file output |
-> CConfig | |
-> Rules () |
:: CCompiler | |
-> [FilePath] | C source files |
-> FilePattern | Static libary output |
-> CConfig | |
-> Rules () |
Rules for making a static library from C source files
Actions
Helper functions
cconfigToArgs :: CConfig -> [String] Source #
ccToString :: CCompiler -> String Source #
ccFromString :: String -> CCompiler Source #