comparison lisp/Makefile.in @ 53941:f381d8277172

* Makefile.in: Fixed the CC Mode recompile kludge so it works when building in a different directory.
author Martin Stjernholm <mast@lysator.liu.se>
date Sat, 14 Feb 2004 18:09:34 +0000
parents f3098a6fd4f0
children 2627b0171f3d
comparison
equal deleted inserted replaced
53940:33cf8d1b409d 53941:f381d8277172
271 271
272 # Recompile all Lisp files which are newer than their .elc files. 272 # Recompile all Lisp files which are newer than their .elc files.
273 # Note that this doesn't create .elc files. It only recompiles if an 273 # Note that this doesn't create .elc files. It only recompiles if an
274 # .elc is present. 274 # .elc is present.
275 275
276 recompile: doit progmodes/cc-mode.elc 276 recompile: doit $(lisp)/progmodes/cc-mode.elc
277 $(EMACS) $(EMACSOPT) -f batch-byte-recompile-directory $(lisp) 277 $(EMACS) $(EMACSOPT) -f batch-byte-recompile-directory $(lisp)
278 278
279 # CC Mode uses a compile time macro system which causes a compile time 279 # CC Mode uses a compile time macro system which causes a compile time
280 # dependency in cc-mode.elc on the macros in cc-langs.el and the 280 # dependency in cc-mode.elc on the macros in cc-langs.el and the
281 # version string in cc-defs.el. 281 # version string in cc-defs.el.
282 progmodes/cc-mode.elc: progmodes/cc-mode.el progmodes/cc-langs.el progmodes/cc-defs.el 282 $(lisp)/progmodes/cc-mode.elc: \
283 $(EMACS) $(EMACSOPT) -f batch-byte-compile progmodes/cc-mode.el 283 $(lisp)/progmodes/cc-mode.el \
284 $(lisp)/progmodes/cc-langs.el \
285 $(lisp)/progmodes/cc-defs.el
286 $(EMACS) $(EMACSOPT) -f batch-byte-compile $(lisp)/progmodes/cc-mode.el
284 287
285 # Prepare a bootstrap in the lisp subdirectory. 288 # Prepare a bootstrap in the lisp subdirectory.
286 # 289 #
287 # Build loaddefs.el, because it's not sure it's up-to-date, and if it's not, 290 # Build loaddefs.el, because it's not sure it's up-to-date, and if it's not,
288 # that might lead to errors during the bootstrap because something fails to 291 # that might lead to errors during the bootstrap because something fails to