Add colormake support for cc and c++.
This commit is contained in:
parent
ba5af691f9
commit
4839a97d91
|
@ -66,7 +66,8 @@ int main(int /*argc*/, char* argv[])
|
||||||
{
|
{
|
||||||
if ( strstr(line, "make") )
|
if ( strstr(line, "make") )
|
||||||
mode = MODE_MAKE;
|
mode = MODE_MAKE;
|
||||||
if ( strstr(line, "gcc") || strstr(line, "g++") )
|
if ( strstr(line, "cc") || strstr(line, "c++") ||
|
||||||
|
strstr(line, "gcc") || strstr(line, "g++") )
|
||||||
mode = MODE_GCC;
|
mode = MODE_GCC;
|
||||||
const char* color = "\e[m";
|
const char* color = "\e[m";
|
||||||
int next_mode = MODE_NONE;
|
int next_mode = MODE_NONE;
|
||||||
|
|
Loading…
Reference in New Issue