Set of reusable make snippets.
Avilable snippets:
- gcc-version - to get version of gcc
- clang-version - to get version of clang
- gcc-supports-flags - gcc-supports-flags - returns 0 if the passed flag is not supported by gcc.
- g++-supports-flags - returns 0 if the passed flag is not supported by g++.
- clang-supports-flags - gcc-supports-flags - returns 0 if the passed flag is not supported by clang.
- clang++-supports-flags - returns 0 if the passed flag is not supported by clang++.
- print_success - prints the given message with green color.
- print_warning - prints the given message with yellow color.
- print_error - prints the given message with red color.
Feel free to ad your favorite.