summaryrefslogtreecommitdiff
path: root/lisp/Makefile.in
diff options
context:
space:
mode:
authorMartin Stjernholm <mast@lysator.liu.se>2004-02-09 00:49:54 +0000
committerMartin Stjernholm <mast@lysator.liu.se>2004-02-09 00:49:54 +0000
commit7fefaee7c97267ec0879ebc6102579ca2b378c94 (patch)
tree14fcd932e081256b1915262d9f2470e774e94b33 /lisp/Makefile.in
parent6cfd4f3ad927c5d9534e89e2a2f03edd6b8af881 (diff)
downloademacs-7fefaee7c97267ec0879ebc6102579ca2b378c94.tar.gz
Added extra dependencies in the recompile target needed to cope with
the compile time macro expansions in CC Mode.
Diffstat (limited to 'lisp/Makefile.in')
-rw-r--r--lisp/Makefile.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index 8baf0278fe9..49d3ffda651 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -273,9 +273,15 @@ compile-after-backup: backup-compiled-files compile-always
# Note that this doesn't create .elc files. It only recompiles if an
# .elc is present.
-recompile: doit
+recompile: doit progmodes/cc-mode.elc
$(EMACS) $(EMACSOPT) -f batch-byte-recompile-directory $(lisp)
+# CC Mode uses a compile time macro system which causes a compile time
+# dependency in cc-mode.elc on the macros in cc-langs.el and the
+# version string in cc-defs.el.
+progmodes/cc-mode.elc: progmodes/cc-mode.el progmodes/cc-langs.el progmodes/cc-defs.el
+ $(EMACS) $(EMACSOPT) -f batch-byte-compile progmodes/cc-mode.el
+
# Prepare a bootstrap in the lisp subdirectory.
#
# Build loaddefs.el, because it's not sure it's up-to-date, and if it's not,