Reputation: 578
I am working in a library that has its own Makefile, so I am using my own Makefile called my_makefile
and use make -f my_makefile
My problem is how to tell Vim that my_makefile
is an actual Makefile and use color scheme that it use for a Makefile.
It is hard to read it now.
Upvotes: 4
Views: 2561
Reputation: 578
I also have found another way! You can use "my_makefile.mk" and vim automatically know it is a MakeFile and you do not need to change .vimrc either.
Upvotes: 0