-
-
Notifications
You must be signed in to change notification settings - Fork 41
Makefile build automation utility
Zeioth edited this page Nov 11, 2023
·
6 revisions
In this section I'm gonna cover how to do use compiler.nvim to run custom commands.
Create a Makefile in your working directory and copy/paste this:
all: hello
hello:
echo "Hello, World"
When you open the compiler you will see the option to run it
And this is the result
In the same way you can run hello world, you can execute any command necessary to build your program.
If you have any of the next files in your current working directory, they will be displayed in Compiler.nvim:
-
./Makefile
,./CmakeLists.txt