| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Mosmake supports "brace expansion" similar to what not too ancient Unix shells implement: Instead of
myprog: foobar foobaz foofum blarp gargle %PROGRAM |
you can write
myprog: foo{bar,baz,fum} blarp gargle %PROGRAM
|
This does not look impressive, but it can be used with good effect to improve legibility of `Dependencies' files in a multi-directory setting. See section 2.10 Multiple directories.
Brace expansion also nests:
myprog: foo{ba{r,z},fum} blarp gargle %PROGRAM
|
though it is hard to imagine a case where it would not lead to "write-onlyness" of the `Dependencies' file rather than simplifying it.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |