[MITgcm-devel] genmake2 fails with netcdf on SUN

Alistair Adcroft adcroft at mit.edu
Wed Jan 5 09:30:31 EST 2005


Martin Losch wrote:
> Good idea .template was not in the line, unfortunately it doesn't make a 
> difference.

Of course it was a good idea. Now try this, replace the lines with a rule:
.template.F:
	cat $< | ...

The $< symbol was originally designed for use in rules.

> I have no clue.

You're too hard on yourself. Maybe you've had too much abuse now.

Your solution of expanding the $< with the actual file name would be the 
most robust but how many instances are there?

A.
-- 
Dr Alistair Adcroft            http://www.mit.edu/~adcroft
MIT Climate Modeling Initiative        tel: (617) 253-5938
EAPS 54-1624,  77 Massachusetts Ave,  Cambridge,  MA,  USA



More information about the MITgcm-devel mailing list