# HG changeset patch # User Eli Zaretskii # Date 1227357910 0 # Node ID 37fe10603a24a1a5956881f1debf8a1be4484c63 # Parent f91a29d10f45c4892038bd1de86f1855cd333a2f (compile-first): New target. (recompile): Depend on compile-first. diff -r f91a29d10f45 -r 37fe10603a24 lisp/makefile.w32-in --- 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: