Simon Marlow <[EMAIL PROTECTED]> writes:
> 
> > Sergey:
> > 
> > One small correction:
> > 
> > The sed script should be:
> > 
> > sed -e 's/.*\/\([^\/][^\/]*\)\.hs/$(E)\/\1.o, $(E)\/\1.hi/'
> > 
> > 
> > Of course:
> > 
> > :g/.*\/\([^\/][^\/]*\)\.hs/s//$(E)\/\1.o, $(E)\/\1.hi/
> > 
> > in vi should also work.
> 
> -odir <blah>  is supposed to work, I think.
> 

Not for the gen'ed interface file. If you're using GNU make
I'd simply add

SRC_HC_OPTS += -ohi $(E)/$*.hi

and avoid having to supply them on a case-by-case basis.

--sigbjorn

Reply via email to