From: Mark Wooding Date: Sun, 13 Aug 2017 03:31:47 +0000 (+0100) Subject: Makefile: Introduce dependencies between Emacs Lisp files. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/3e441da6394b0abeae5c53b0ad4a8d514d1fb4ee Makefile: Introduce dependencies between Emacs Lisp files. Mention that `dot-emacs.el' depends on `make-regexp.el' so that we don't try compiling things in the wrong order. --- diff --git a/Makefile b/Makefile index 600defa..a857bf3 100644 --- a/Makefile +++ b/Makefile @@ -72,10 +72,13 @@ ELISP += mdw-multiple-cursors ELISP += git git-blame vc-git stgit quilt ELISP += bracketed-paste +ELISP += dot-emacs +dot-emacs_DEPS = make-regexp + SCRIPTLINKS += emacsclient-hack movemail-hack sendmail-hack SCRIPTLINKS += aspell-hack emerge-hack -%.elc: %.el +%.elc: %.el $$(foreach e, $$($$*_DEPS), $$(DEP_$$e)) $(call v_tag,EMACS)$(EMACS) -L el/ -L $(EMACSLIB) \ --batch --no-site-file \ --eval '(byte-compile-file "$<")'