From: Zohair on
Hello everyone,

I am writing a matlab library (*.so )and using it in c++ code. The library depends on some .h headers [mclmcrrt.h & mclcppclass.h] located at DIRECTORY1 and some .so libraries [libmwmclmcr] located at DIRECTORY2.
I am writing a makefile.am file and I read that I should use LDFLAGS and LIBADD with -rpath and -L but really didn't understand what exactly I should do. any explanation and help please?

Cheers
Zoh