
17 Dec
2001
17 Dec
'01
12:16 p.m.
On Mon, Dec 17, 2001 at 11:46:05AM +0000, Malcolm Wallace wrote:
This one had me puzzled for a few seconds before I spotted what was going on!
$ rm foo*; touch foo.hs foo.lhs; hmake foo.lhs nhc98 -c -o foo.o foo.hs
In any case, you can change hmake to prefer a .lhs over a .hs with the following patch.
Clearly one must be preferred if you type "hmake foo", but when an extension is explicitly given hmake should compile that file. Thanks Ian