Re: [dev] Some core tools

From: Markus Wichmann <>
Date: Thu, 2 Feb 2017 20:54:45 +0100

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

Received on Thu Feb 02 2017 - 20:54:45 CET

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