Re: [dev] Some core tools

From: Mattias Andrée <maandree_AT_kth.se>
Date: Thu, 2 Feb 2017 20:59:23 +0100

On Thu, 2 Feb 2017 20:54:45 +0100
Markus Wichmann <nullplan_AT_gmx.net> wrote:

> On Thu, Feb 02, 2017 at 06:45:49PM +0100, Mattias Andrée
> wrote:
> > Greetings!
> >
> > I'm work on implementing make(1), and I have two
> > questions for you:
> >
> > 1) What extensions do you think I shall implement? I
> > think I will add $(foreach), $(shell), and I will
> > definitely add $(SHELL). $(SHELL) is the macro that use
> > to select the shell to use, POSIX only standardises
> > that the macro SHELL not affect or be affected by the
> > environment variable SHELL. I need $(SHELL) be sh(1p)
> > is not sufficient to use blind in a sane manner. I'm
> > not sure that I will add support `-j jobs`, and I don't
> > I will add `-l loadavg`, but it will recognise those
> > options and, if not implementing them, ignore them.
>
> GNU make style patsubst rules, i.e.
>
> %.o: %.c
> $(CC) $(CFLAGS) -o $_AT_ $<
>
> Those are really useful. If I recall correctly, mk
> implements something equivalent.
>
> Ciao,
> Markus
>

Of course, I forgot that was an extension.

Received on Thu Feb 02 2017 - 20:59:23 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 02 2017 - 21:00:35 CET