Add "mkfile" as a recognised Makefile name (#2938)

* Add ".mkfile" as a recognised Makefile extension

* Add a test-fixture for the "mkfile" extension

* Replace mkfile fixture with rewritten source
This commit is contained in:
John Gardner
2016-04-09 12:51:41 +10:00
committed by Arfon Smith
parent f8c5015b20
commit b89d1a2e77
2 changed files with 11 additions and 0 deletions

View File

@@ -2068,6 +2068,7 @@ Makefile:
- .mak - .mak
- .d - .d
- .mk - .mk
- .mkfile
filenames: filenames:
- GNUmakefile - GNUmakefile
- Kbuild - Kbuild
@@ -2076,6 +2077,7 @@ Makefile:
- Makefile.in - Makefile.in
- Makefile.inc - Makefile.inc
- makefile - makefile
- mkfile
interpreters: interpreters:
- make - make
ace_mode: makefile ace_mode: makefile

View File

@@ -0,0 +1,9 @@
GREETINGS=hello gday bonjour hola ola kaixo tag hoi konnichiwa nihao dobredan namaste salaam
all:V:
mk greet.^($GREETINGS)
for(i in $GREETINGS)
mk $i
greet.%: text-folder
/n/$printer $stem >[2=1]