Re: Including Shared Objects and other files in Makefile.am

2012-10-05 Thread Alberto Luaces
Sujit Devkar writes: > Hi, > I tried using AM_CPPFLAGS= -I/usr/abc/inc and AM_LDFLAGS= > -L/usr/abc/lib, but I get these are directories. > Also when I tried using AM_LDFLAGS= /usr/abc/lib/libsrl.so but I get > access denies even I am root. > > My shell script which has > e.g. g++ -I/usr/abc/inc -

Re: [Automake] Including Shared Objects and other files in Makefile.am

2012-10-05 Thread Sujit Devkar
Hi, I tried using AM_CPPFLAGS= -I/usr/abc/inc and AM_LDFLAGS= -L/usr/abc/lib, but I get these are directories. Also when I tried using AM_LDFLAGS= /usr/abc/lib/libsrl.so but I get access denies even I am root. My shell script which has e.g. g++ -I/usr/abc/inc -L/usr/abc/lib abc.cpp -lsrl -o ab