Hacker News new | ask | show | jobs
by xoroshiro 3245 days ago
The Stockfish Makefile is probably the best example of this I've seen. It also does some advanced stuff I'm not sure I understand yet. Profiling, setting flags for CPU instructions and making profile builds, all with support for different C++ compilers. Pretty neat stuff from one of the best chess engines.

https://github.com/official-stockfish/Stockfish/blob/master/...