how to integrate a build in automake

PICCA Frederic-Emmanuel <[email protected]>
Newsgroups gmane.comp.lang.haskell.cafe
Message-ID <1013556727.5156229.1713341255235.JavaMail.zimbra@synchrotron-soleil.fr>
Hello, I am trying to build a program with the autotools.

At the end I need to link this program with a few libraries with libtool.

I wrote something like this

but ghc (on Debian stable) does not deal with the default LDFLAGS of the distribution.

So I need to generate only the .o files and do the final link by myself.

Do you have examples of Makefile.am for an haskell program.


Here the current autotool file which I need to modify in order to do the  final link...

https://repo.or.cz/hkl.git/blob/c2359440baeb38f5acbee91507d1aacf36f1b5bb:/binoculars-ng/Makefile.am

thanks for your help.


Frederic
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.