Creating a Library
The CCompilerDriver package lets you work with C compilers that are installed on your computer. It is used automatically by the Wolfram System compiler when you set the option CompilationTarget to "C", but you can use it to build your own executables, libraries, and object files from source code written in the C language.
If the input came from one or more files of C code, these could be given to CreateLibrary in a list.
More information on options and settings is found in the section on Configuring the Compilation.
The Wolfram Language kernel supports loading dynamic libraries so that functions can be called directly. This is described in the documentation for Wolfram LibraryLink. The CCompilerDriver package is useful for building these libraries since you can carry out much of the work from within the Wolfram Language.
This library was written as a Wolfram Library, so you can load functions from it using LibraryFunctionLoad.
This calls the LibraryFunction.
There are also examples in the Wolfram LibraryLink documentation.