Function: projectile-make-project-p

projectile-make-project-p is a byte-compiled function defined in projectile.el.

Signature

(projectile-make-project-p &optional DIR)

Documentation

Check if a project contains a Makefile.

Both Makefile and the lowercase makefile GNU make also reads are recognized. When DIR is specified it checks DIR's project, otherwise it acts on the current project.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-make-project-p (&optional dir)
  "Check if a project contains a Makefile.
Both `Makefile' and the lowercase `makefile' GNU make also reads are
recognized.  When DIR is specified it checks DIR's project, otherwise
it acts on the current project."
  (or (projectile-verify-file "Makefile" dir)
      (projectile-verify-file "makefile" dir)))