Several of my personal projects should probably say:
WARNING: This source code contains techniques which are known to the State of California to cause cancer.
My cryptographic hash library does approximately the following to build, via a makefile:
- Uses a bunch of make functions to generate target lists for wildcard recipes.
 - Run the Python scripts that generate a series of header files full of macros.
 - Runs the C preprocessor on meta-implementations of Merkel-Damgård hash functions once for each algorithm.
 - Concatenates some of the files together so the compiler can inline them better.
 - Compiles the files (a second pass of the preprocessor runs).
 - Links everything together.
 
To the best of my knowledge, it's the fastest non-parallel x86_64 implementation of all the hash algorithms it supports, and it allows for building things like length extension attacks.