bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: please make byte compiling during bootstrap take advantage of make -


From: Glenn Morris
Subject: Re: please make byte compiling during bootstrap take advantage of make -j
Date: Thu, 08 May 2008 15:34:55 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Eli Zaretskii wrote:

> Yes, include is non-portable.

Is there a good reference for what is portable? Ideally, for what
Emacs wants to support...

In the GNU Make manual, "Features of GNU make" seems only to say that
including multiple files with a single include is a GNU extension.

And in the section "Old-Fashioned Suffix Rules", it says that "Suffix
rules cannot have any prerequisites of their own", yet we have:

.el.elc: $(lisp)/subdirs.el

in lisp/Makefile.

> I think you can safely have a full list of all .el files, and let the
> no-byte-compile tag take care of which ones are actually compiled.

Yes, that seems to work.

> You could use the list of .el files with .el=.elc construct.

Can I portably use this kind of thing:

lispfiles1 = $(lisp)/*.el
lispfiles2 = $(lisp)/*/*.el
elcfiles1 = $(lispfiles1:.el=.elc)
elcfiles2 = $(lispfiles2:.el=.elc)

compile: $(elcfiles1) $(elcfiles2)

?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]