[MITgcm-devel] make makefile with multiple mods

Ed Hill ed at eh3.com
Tue Mar 16 13:24:34 EST 2004


On Tue, 2004-03-16 at 12:33, Alistair Adcroft wrote:
> Isn't that a shell issue? The behaviour depends on your interactive shell...
> may be not...
> 
> A.

> -----Original Message-----
> Ed,
> 
>  Can you fix this when you have achance:
> 
>  Doing make makefile 
>  on a genmake2 makefile with
>  -mods="../a ../b"
>  fails because the makefile target makefile does not prevserver the quotes
> arounf the mods option.


Yes, good points!  I just checked in a fix that should be robust wrt
shell quoting rules.  It'll work as long as you don't include any
quoting characters within the names [and same on you if you do!].

Please let me know if you have any problems with it.

Ed

-- 
Edward H. Hill III, PhD
office:  MIT Dept. of EAPS;  Room 54-1424;  77 Massachusetts Ave.
            Cambridge, MA 02139-4307
email:   eh3 at mit.edu,  ed at eh3.com
URL:     http://web.mit.edu/eh3/
phone:   617-253-0098
fax:     617-253-4464
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://mitgcm.org/pipermail/mitgcm-devel/attachments/20040316/71d453fb/attachment.sig>


More information about the MITgcm-devel mailing list