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: Eli Zaretskii
Subject: Re: please make byte compiling during bootstrap take advantage of make -j
Date: Wed, 07 May 2008 12:47:51 +0300

> From: Glenn Morris <address@hidden>
> Cc: address@hidden,  Dan Nicolaescu <address@hidden>
> Date: Tue, 06 May 2008 23:05:06 -0400
> 
> 
> >> doing what you want boils down to making the `compile:' target
> >> depend on all the .elc files; the rest will be done automatically by
> >> Make.
> 
> But how to do this without hard-coding the names of all the .elc files?

And what's wrong with hard-coding them, exactly?

If you are worried about maintenance, then we could have a
maintainer-only target that would update the list, and that target
could use GNU Make features, like you suggest below.

> With GNU make, I would try something like:
> 
>   compile: $(shell find . -name '*.el' | sed 's/\.el$$/.elc/' )
> 
> but I'm sure this is not portable.

Actually, you don't need the Sed part, as $(FOO:.el=.elc) is portable.




reply via email to

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