[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dynamic evaluation of build scripts
From: |
Reinier Post |
Subject: |
Re: Dynamic evaluation of build scripts |
Date: |
Mon, 12 Jan 2015 16:51:34 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon Jan 12 13:14:02 2015, address@hidden (SF Markus Elfring) wrote:
> > GNU make is the only implementation of make that supports any GNU
> > make functions, including $(eval ...), if that's what you mean.
>
> I hope that more software tools can cope with make file syntax and
> processing of corresponding GNU extensions.
>
> > In fact, recursive variable expansion is about the only one
> > of the techniques I discuss above which is widely implemented
> > in other versions of make.
>
> I find it interesting which limitations from other approaches need
> to be also considered for the development of reasonably portable
> build scripts.
Making your makefiles portable across make implementations
isn't going to do much for portability. If you want portability,
it's probably going to be better to just require GNU Make everywhere.
You could even create a couple of rules that check whether GNU Make
is being used, and if not, fetch, compile and install it, then invoke it
on your real Makefile. That is going to do a lot more
for portability than waiting for features to be ported across
make implementations ever will.
--
Reinier Post
TU Eindhoven
- Re: Better description for "define"?, (continued)
- Re: Dynamic adjustments of build dependencies for the number of available processors, Norbert Thiebaud, 2015/01/06
- Re: Dynamic adjustments of build dependencies for the number of available processors, Edward Welbourne, 2015/01/07
- Re: Dynamic evaluation of build scripts, SF Markus Elfring, 2015/01/11
- Re: Dynamic evaluation of build scripts, Paul Smith, 2015/01/11
- Re: Dynamic evaluation of build scripts, SF Markus Elfring, 2015/01/12
- Re: Dynamic evaluation of build scripts, Paul Smith, 2015/01/12
- Re: Dynamic evaluation of build scripts, SF Markus Elfring, 2015/01/12
- Re: Dynamic evaluation of build scripts,
Reinier Post <=
- Re: Dynamic adjustments of build dependencies for the number of available processors, Reinier Post, 2015/01/08
- Re: Dynamic adjustments of build dependencies for the number of available processors, Paul Smith, 2015/01/05
- Re: Dynamic adjustments of build dependencies for the number of available processors, SF Markus Elfring, 2015/01/05
- Re: Dynamic adjustments of build dependencies for the number of available processors, Howard Chu, 2015/01/05
- Re: Dynamic adjustments of build dependencies for the number of available processors, SF Markus Elfring, 2015/01/05