Function: pcmpl-gnu-make-targets
pcmpl-gnu-make-targets is a byte-compiled function defined in
pcmpl-gnu.el.gz.
Signature
(pcmpl-gnu-make-targets TARGETS)
Documentation
Add to TARGETS the list of makefile targets in the current buffer.
Return the new list.
Source Code
;; Defined in /usr/src/emacs/lisp/pcmpl-gnu.el.gz
(defun pcmpl-gnu-make-targets (targets)
"Add to TARGETS the list of makefile targets in the current buffer.
Return the new list."
(goto-char (point-min))
(while (re-search-forward
"^\\([^\t\n#%.$][^:=\n]*\\)\\s-*:[^=]" nil t)
(setq targets (nconc (split-string (match-string-no-properties 1))
targets)))
targets)