# HG changeset patch # User Martin Stjernholm # Date 1076287673 0 # Node ID f3098a6fd4f0f70d52cf9f4c72a62028d2bdfa18 # Parent 4b85b1e3d610d0e98ca347e8a07ec1241666d288 Added extra dependencies in the recompile target needed to cope with the compile time macro expansions in CC Mode. diff -r 4b85b1e3d610 -r f3098a6fd4f0 lisp/Makefile.in --- a/lisp/Makefile.in Sun Feb 08 23:37:11 2004 +0000 +++ b/lisp/Makefile.in Mon Feb 09 00:47:53 2004 +0000 @@ -273,9 +273,15 @@ # 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,