0xAX / make-snippets

Set of reusable Make snippets ๐Ÿ—๏ธ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

make-snippets

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.

Contributing

Feel free to ad your favorite.

License

License

Author

@0xAX

About

Set of reusable Make snippets ๐Ÿ—๏ธ

License:Other


Languages

Language:Makefile 100.0%