[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.6.1 Extension lines

The most straightforward solution is to continue the dependency list onto the next line. The next line must start with a space or tab character, which will signal to Mosmake's parser that the line counts as an extension of the unit definition already started.

Another way of saying this is that a newline followed by whitespace counts as no newline at all, except that it does end a `#' comment.

Thus, instead of

 
myprog: foobar foobaz foofum blarp gargle %PROGRAM
# NB! blarp is for the infix declaration of -*-

you can write

 
myprog: foobar foobaz foofum
   blarp # for infix decl of -*-
   gargle %PROGRAM

Note that Mosmake does not support the `\newline' continuation feature of make or the Unix shell.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by Henning Makholm on November, 19 2002 using texi2html