]> git.eshelyaron.com Git - emacs.git/commitdiff
Added extra dependencies in the recompile target needed to cope with
authorMartin Stjernholm <mast@lysator.liu.se>
Mon, 9 Feb 2004 00:49:54 +0000 (00:49 +0000)
committerMartin Stjernholm <mast@lysator.liu.se>
Mon, 9 Feb 2004 00:49:54 +0000 (00:49 +0000)
the compile time macro expansions in CC Mode.

lisp/ChangeLog
lisp/Makefile.in

index 6f13916f6f9a82ab027dd30550c1a463cfb21a0c..ad9cba1e4e0f404e452ce74160fa9ba1ffbf899d 100644 (file)
@@ -1,3 +1,8 @@
+2004-02-09  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * Makefile.in: Added extra dependencies in the recompile target
+       needed to cope with the compile time macro expansions in CC Mode.
+
 2004-02-09  Kim F. Storm  <storm@cua.dk>
 
        * fringe.el (no-fringe-bitmap, undef-fringe-bitmap)
index 8baf0278fe988eb8ab8c8345a46c7176422a6add..49d3ffda651bddf47492b9828417ae940abac125 100644 (file)
@@ -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,