changeset 99797:37fe10603a24

(compile-first): New target. (recompile): Depend on compile-first.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 22 Nov 2008 12:45:10 +0000
parents f91a29d10f45
children 0a0d1d91c5f8
files lisp/makefile.w32-in
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/makefile.w32-in	Sat Nov 22 12:23:13 2008 +0000
+++ b/lisp/makefile.w32-in	Sat Nov 22 12:45:10 2008 +0000
@@ -312,12 +312,15 @@
 
 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: