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 $@ $< Those are really useful. If I recall correctly, mk implements something equivalent. Ciao, Markus