1 ;;; Copyright (C) 2011, 2013-2014 Rocky Bernstein <rocky@gnu.org>
2 ;; `remake' Main interface to remake via Emacs
3 (require 'load-relative)
4 (require-relative-list '("../../common/helper") "realgud-")
5 (require-relative-list '("../../common/track") "realgud-")
6 (require-relative-list '("../../common/run") "realgud:")
7 (require-relative-list '("core" "track-mode") "realgud:remake-")
8 ;; This is needed, or at least the docstring part of it is needed to
9 ;; get the customization menu to work in Emacs 23.
11 "The GNU Make debugger: remake"
17 (declare-function remake-query-cmdline 'realgud:remake-core)
18 (declare-function remake-parse-cmd-args 'realgud:remake-core)
19 (declare-function realgud:run-debugger 'realgud:run)
21 ;; -------------------------------------------------------------------
22 ;; User definable variables
25 (defcustom remake-command-name
28 "File name for executing the GNU make debugger, remake, and command options.
29 This should be an executable on your path, or an absolute file name."
34 (defun realgud:remake (&optional opt-cmd-line no-reset)
35 "See `realgud:remake' for details"
37 (realgud:run-debugger "remake"
39 'remake-parse-cmd-args
40 'remake-track-mode-hook
41 opt-cmd-line no-reset)
44 (defalias 'remake 'realgud:remake)
46 (provide-me "realgud-")
47 ;;; remake.el ends here