Skip to content

Makefile build automation utility

Zeioth edited this page Nov 11, 2023 · 6 revisions

When compiler.nvim detects a Makefile in the current working directory, Telescope will be populated with all its entries.

Hello world

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 screenshot_2023-10-31_00-55-16_370533289

And this is the result screenshot_2023-10-31_00-55-22_742539119

In the same way you can run hello world, you can execute any command necessary to build your program.