make-mode

Homepage: https://www.gnu.org/software/emacs

Author: Eric S. Raymond, Thomas Neumann

Summary

Makefile editing commands for Emacs

Commentary

A major mode for editing makefiles.  The mode knows about Makefile
syntax and defines M-n and M-p to move to next and previous productions.

The keys $, =, : and . are electric; they try to help you fill in a
macro reference, macro definition, ordinary target name, or special
target name, respectively.  Such names are completed using a list of
targets and macro names parsed out of the makefile.  This list is
automatically updated, if necessary, whenever you invoke one of
these commands.  You can force it to be updated with C-c C-p.

The command C-c C-f adds certain filenames in the current directory
as targets.  You can filter out filenames by setting the variable
`makefile-ignored-files-in-pickup-regex'.

The command C-c C-u grinds for a bit, then pops up a report buffer
showing which target names are up-to-date with respect to their
prerequisites, which targets are out-of-date, and which have no
prerequisites.

The command C-c TAB in the makefile buffer inserts a GNU make builtin.
You will be prompted for the builtin's arguments.

There are numerous other customization variables.

Dependencies

Reverse dependencies