5 ms·
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
by xoroshiro 9y 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/src/Makefile https://github.com/official-stockfish/Stockfish/blob/master/...