On 10/03/2012 02:15 PM, Sujit Devkar wrote:
Dear Sir/Madam,

I am working on a C++ project in which I am trying to use autotools to make my project easy to deploy. I have some .so files in a directory and some other files in different directory. Before using autotools, I had a shell script to include files using options [ I ] and [ L ] as
g++ -I /usr/abc/inc -L /usr/dia/lib ...

Add

AM_CPPFLAGS = -I/usr/abc/inc

AM_LDFLAGS = -L/usr/dia/lib

and Automake should do what you expect (hopefully).

HTH,
Peter

Reply via email to