aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2008-07-05 19:14:20 +0000
committerGlenn Morris2008-07-05 19:14:20 +0000
commitdf19c2fbe1c5311690d5068a48900e93a0bcce0a (patch)
treef2c1e68572e5bc581f0dceabeb79493a06643e48
parent934a944e5434e1024f9901aee7152bf437d63080 (diff)
downloademacs-df19c2fbe1c5311690d5068a48900e93a0bcce0a.tar.gz
emacs-df19c2fbe1c5311690d5068a48900e93a0bcce0a.zip
Comments.
-rw-r--r--lisp/Makefile.in14
1 files changed, 11 insertions, 3 deletions
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index 624b9983de5..e4d878d5abd 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -1333,9 +1333,17 @@ compile-after-backup: backup-compiled-files compile-always
1333 1333
1334# Recompile all Lisp files which are newer than their .elc files and compile 1334# Recompile all Lisp files which are newer than their .elc files and compile
1335# new ones. 1335# new ones.
1336# FIXME this could use the 'compile' target now, and let make figure out 1336# This has the same effect as compile-main (followed up with compile-last,
1337# what needs to be done. That would be parallelizable, but would not 1337# if ELCFILES is out of date). recompile has some advantages:
1338# pick up new files not in ELCFILES. 1338# i) It is faster (on a single processor), since it only has to start
1339# Emacs once. It was 33% faster on a test with a random 10% of the .el
1340# files needing recompilation.
1341# ii) The explicit cc-mode dependency.
1342# recompile's disadvantages are:
1343# i) Not parallelizable.
1344# ii) Compiling multiple files in the same instance of Emacs is wrong,
1345# since the environment of later files is affected by definitions in
1346# earlier ones.
1339recompile: doit $(LOADDEFS) $(lisp)/progmodes/cc-mode.elc 1347recompile: doit $(LOADDEFS) $(lisp)/progmodes/cc-mode.elc
1340 $(emacs) --eval "(batch-byte-recompile-directory 0)" $(lisp) 1348 $(emacs) --eval "(batch-byte-recompile-directory 0)" $(lisp)
1341 1349