summaryrefslogtreecommitdiff
path: root/lisp/makefile.w32-in
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2008-11-22 12:45:10 +0000
committerEli Zaretskii <eliz@gnu.org>2008-11-22 12:45:10 +0000
commitca12e9f26e01c1d173c9a49b6804359f021a8e0c (patch)
treefd0970942d050d5e6c8360c87d546a9897634e33 /lisp/makefile.w32-in
parent3da4c151e7182c909e0c3546738bb92735af603b (diff)
downloademacs-ca12e9f26e01c1d173c9a49b6804359f021a8e0c.tar.gz
(compile-first): New target.
(recompile): Depend on compile-first.
Diffstat (limited to 'lisp/makefile.w32-in')
-rw-r--r--lisp/makefile.w32-in5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/makefile.w32-in b/lisp/makefile.w32-in
index 65b46507dc6..8b978d29581 100644
--- a/lisp/makefile.w32-in
+++ b/lisp/makefile.w32-in
@@ -312,12 +312,15 @@ backup-compiled-files:
compile-after-backup: backup-compiled-files compile-always
+compile-first: $(lisp)/emacs-lisp/bytecomp.elc $(lisp)/emacs-lisp/byte-opt.elc \
+ $(lisp)/emacs-lisp/autoload.elc
+
# Recompile all Lisp files which are newer than their .elc files.
# Note that this doesn't create .elc files. It only recompiles if an
# .elc is present.
# WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
# this can break with GNU Make 3.81 and later if sh.exe is used.
-recompile: mh-autoloads doit $(lisp)/progmodes/cc-mode.elc
+recompile: compile-first autoloads doit $(lisp)/progmodes/cc-mode.elc
$(emacs) --eval $(ARGQUOTE)(batch-byte-recompile-directory 0)$(ARGQUOTE) $(lisp)
$(lisp)/calendar/cal-loaddefs.el: