| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Development.Shake.C
- data CConfig = CConfig {}
- data CCompiler where
- staticLibR :: CCompiler -> [FilePath] -> FilePattern -> CConfig -> Rules ()
- sharedLibR :: CCompiler -> [FilePath] -> FilePattern -> CConfig -> Rules ()
- objectFileR :: CCompiler -> CConfig -> FilePath -> FilePattern -> 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
- sharedLibA :: CmdResult r => CCompiler -> [FilePath] -> FilePattern -> CConfig -> Action r
- cconfigToArgs :: CConfig -> [String]
- ccToString :: CCompiler -> String
- ccFromString :: String -> CCompiler
- host :: String
Types
Rules
Arguments
| :: CCompiler | ar binary |
| -> [FilePath] | Object files to be linked |
| -> FilePattern | File pattern for static library outputs |
| -> CConfig | |
| -> Rules () |
Arguments
| :: CCompiler | |
| -> [FilePath] | Object files to be linked |
| -> FilePattern | File pattern for shared library outputs |
| -> CConfig | |
| -> Rules () |
Arguments
| :: CCompiler | |
| -> CConfig | |
| -> FilePath | C source file |
| -> FilePattern | Object file output |
| -> Rules () |
Arguments
| :: CCompiler | |
| -> [FilePath] | C source files |
| -> FilePattern | Binary file output |
| -> CConfig | |
| -> Rules () |
Arguments
| :: 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 #