Skip to content

scipunch/make-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Make project

Table of contents

Description

GNU make is a powerful tool as GNU Emacs compile mode. This package helps to merge them into a powerful interface.

Just run make-project-run interactive function and select make target. Each target will have an annotation with prerequisites (if exist) and a commment

Demo

Given the following Makefile:

# This comment will be ignored

# Foo target
foo:
	echo "foo"

bar: foo
	echo "bar"

# Comment for the baz target
baz: foo bar
	echo "baz"

Invoke make-project-run: https://i.imgur.com/WHyP3Yq.png

Installation

Using default package.el starting from GNU Emacs 29.1

(use-package
 make-project
 :vc (:url "https://github.com/scipunch/make-project"))

It requires Tree-Sitter grammar for make as well:

(add-to-list
 treesit-language-source-alist
 (make "https://github.com/alemuller/tree-sitter-make"))

(treesit-install-language-grammar 'make)

About

GNU Emacs package to run makefile targets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published